-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
should use @DynamicPropertySource
static void register(DynamicPropertyRegistry registry) {
registry.add("spring.elasticsearch.xxx", () -> yyy);
instead of System.setProperty
It's a better API to test things rather than hoping that we are the last do to system.setProperty before it is read
Metadata
Metadata
Assignees
Labels
No labels