Skip to content

Commit

Permalink
test(polaris): remove timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
huyuanxin authored and zilongTong committed Jul 22, 2022
1 parent 8f663d8 commit 6e31672
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void init() {
abstractServiceRegistry = new PolarisServiceRegistry(configMap);
}

@Test(timeout = 30000)
@Test
public void testRegistryAndDeregistry() throws InterruptedException {
abstractServiceRegistry.register(getServiceInstance("registry-test-1", 8080));
Thread.sleep(10000L);
Expand All @@ -93,7 +93,7 @@ public void testRegistryAndDeregistry() throws InterruptedException {
Assert.assertEquals(0, serviceInstanceList.size());
}

@Test(timeout = 30000)
@Test
public void testRegistryAndDeregistryMany() throws InterruptedException {
// 注册第一个
abstractServiceRegistry.register(getServiceInstance("registry-test-1", 8080));
Expand Down

0 comments on commit 6e31672

Please sign in to comment.