Revert "service list testcases"

This reverts commit 94eb697e45.
This commit is contained in:
xiaochun.xxc 2019-01-15 19:27:55 +08:00
parent 5c4662ae48
commit 9e652a21df

View File

@ -92,6 +92,7 @@ public class ServiceListTest {
Assert.assertTrue(verifyInstanceList(instances, naming.getAllInstances(serviceName)));
serviceInfoList = naming.getSubscribeServices();
System.out.println("dfdfdfd = " + serviceInfoList);
Assert.assertEquals(count+1, serviceInfoList.size());
}
@ -125,7 +126,6 @@ public class ServiceListTest {
naming.deregisterInstance(serviceName, "127.0.0.1", TEST_PORT, "c1");
naming.deregisterInstance(serviceName, "127.0.0.1", TEST_PORT, "c2");
TimeUnit.SECONDS.sleep(5);
Assert.assertEquals(count+1, serviceInfoList.size());
}