Skip to content

Commit

Permalink
Revert "service list testcases"
Browse files Browse the repository at this point in the history
This reverts commit 94eb697.
  • Loading branch information
alios-studio committed Jan 15, 2019
1 parent 5c4662a commit 9e652a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void getSubscribeServices() throws NacosException, InterruptedException {
Assert.assertTrue(verifyInstanceList(instances, naming.getAllInstances(serviceName)));
serviceInfoList = naming.getSubscribeServices();

System.out.println("dfdfdfd = " + serviceInfoList);
Assert.assertEquals(count+1, serviceInfoList.size());
}

Expand Down Expand Up @@ -125,7 +126,6 @@ public void onEvent(Event event) {

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());
}
Expand Down

0 comments on commit 9e652a2

Please sign in to comment.