|
|
@ -94,8 +94,7 @@ public class PolarisServiceDiscoveryTest {
|
|
|
|
this.contextRunner.run(context -> {
|
|
|
|
this.contextRunner.run(context -> {
|
|
|
|
PolarisServiceDiscovery polarisServiceDiscovery = context.getBean(PolarisServiceDiscovery.class);
|
|
|
|
PolarisServiceDiscovery polarisServiceDiscovery = context.getBean(PolarisServiceDiscovery.class);
|
|
|
|
List<String> services = polarisServiceDiscovery.getServices();
|
|
|
|
List<String> services = polarisServiceDiscovery.getServices();
|
|
|
|
|
|
|
|
assertThat(services.size()).isEqualTo(1);
|
|
|
|
assertThat(services.size()).isEqualTo(0);
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|