Fix test case error

This commit is contained in:
nkorange 2019-04-10 22:44:38 +08:00
parent ef257d56f5
commit 18b8c95a71
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ public class DeregisterInstance_ITCase {
instances = naming.getAllInstances(serviceName);
Assert.assertEquals(instances.size(), 1);
Assert.assertEquals(1, instances.size());
instances = naming.getAllInstances(serviceName, Arrays.asList("c2"));
Assert.assertEquals(instances.size(), 1);

View File

@ -202,7 +202,7 @@ public class MultiTenant_InstanceAPI_ITCase {
.appendParam("namespaceId", "namespace-2")
.done(),
String.class);
Assert.assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, response.getStatusCode());
Assert.assertEquals(HttpStatus.NOT_FOUND, response.getStatusCode());
response = request("/nacos/v1/ns/instance/list",
Params.newParams()