fix: update comments

pull/1324/head
andrew shan 1 year ago
parent 569dee97ad
commit 45c6d42099

@ -140,7 +140,7 @@ public class LosslessRegistryAspectTest {
assertThatCode(() -> { assertThatCode(() -> {
assertThat(OkHttpUtil.checkUrl(HOST, LOSSLESS_PORT_1, "/online", Collections.EMPTY_MAP)).isFalse(); assertThat(OkHttpUtil.checkUrl(HOST, LOSSLESS_PORT_1, "/online", Collections.EMPTY_MAP)).isFalse();
}).doesNotThrowAnyException(); }).doesNotThrowAnyException();
// delay register after 5s // delay register after 10s
Thread.sleep(10000); Thread.sleep(10000);
PolarisServiceRegistry registry = context.getBean(PolarisServiceRegistry.class); PolarisServiceRegistry registry = context.getBean(PolarisServiceRegistry.class);
PolarisRegistration registration = context.getBean(PolarisRegistration.class); PolarisRegistration registration = context.getBean(PolarisRegistration.class);

Loading…
Cancel
Save