Updates to use "spring.config.use-legacy-processing" where needed.
This commit is contained in:
@@ -461,8 +461,7 @@ public class EurekaClientAutoConfigurationTests {
|
||||
assertThat(healthCheckHandler).isInstanceOf(EurekaHealthCheckHandler.class);
|
||||
assertThat(oldEurekaClient.getHealthCheckHandler()).isSameAs(healthCheckHandler);
|
||||
|
||||
ContextRefresher refresher = this.context.getBean("contextRefresher",
|
||||
ContextRefresher.class);
|
||||
ContextRefresher refresher = this.context.getBean(ContextRefresher.class);
|
||||
refresher.refresh();
|
||||
|
||||
EurekaClient newEurekaClient = getLazyInitEurekaClient();
|
||||
|
||||
@@ -107,6 +107,7 @@ public class EurekaConfigServerBootstrapConfigurationTests {
|
||||
// FIXME: why do I need to do this? (fails in maven build without it.
|
||||
TomcatURLStreamHandlerFactory.disable();
|
||||
new SpringApplicationBuilder(TestConfigDiscoveryConfiguration.class).properties(
|
||||
"spring.config.use-legacy-processing=true",
|
||||
"spring.cloud.config.discovery.enabled=true",
|
||||
"spring.main.sources="
|
||||
+ TestConfigDiscoveryBootstrapConfiguration.class.getName(),
|
||||
|
||||
@@ -39,6 +39,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
|
||||
* @author Spencer Gibb
|
||||
*/
|
||||
@SpringBootTest(properties = { "spring.cloud.config.discovery.enabled=true",
|
||||
"spring.config.use-legacy-processing=true",
|
||||
"eureka.client.webclient.enabled=true",
|
||||
"spring.codec.max-in-memory-size=310000" }, webEnvironment = RANDOM_PORT)
|
||||
public class EurekaConfigServerBootstrapConfigurationWebClientIntegrationTests {
|
||||
|
||||
Reference in New Issue
Block a user