|
|
@ -62,8 +62,8 @@ public class PolarisDiscoveryClientConfigurationTest {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void testDiscoveryBlockingDisabled() {
|
|
|
|
public void testDiscoveryDisabled() {
|
|
|
|
this.contextRunner.withPropertyValues("spring.cloud.discovery.blocking.enabled=false")
|
|
|
|
this.contextRunner.withPropertyValues("spring.cloud.discovery.enabled=false")
|
|
|
|
.run(context -> assertThat(context).doesNotHaveBean(PolarisDiscoveryClient.class));
|
|
|
|
.run(context -> assertThat(context).doesNotHaveBean(PolarisDiscoveryClient.class));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|