From 9e652a21df95a53d48a3813f3a6bfb538f85ec32 Mon Sep 17 00:00:00 2001 From: "xiaochun.xxc" Date: Tue, 15 Jan 2019 19:27:55 +0800 Subject: [PATCH] Revert "service list testcases" This reverts commit 94eb697e45d456a47e29a1af4381fdf791fbf2ca. --- .../java/com/alibaba/nacos/test/naming/ServiceListTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/test/java/com/alibaba/nacos/test/naming/ServiceListTest.java b/test/src/test/java/com/alibaba/nacos/test/naming/ServiceListTest.java index 4444436a9..25af75031 100644 --- a/test/src/test/java/com/alibaba/nacos/test/naming/ServiceListTest.java +++ b/test/src/test/java/com/alibaba/nacos/test/naming/ServiceListTest.java @@ -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()); }