Fix test case error
This commit is contained in:
parent
ef257d56f5
commit
18b8c95a71
@ -131,7 +131,7 @@ public class DeregisterInstance_ITCase {
|
|||||||
|
|
||||||
instances = naming.getAllInstances(serviceName);
|
instances = naming.getAllInstances(serviceName);
|
||||||
|
|
||||||
Assert.assertEquals(instances.size(), 1);
|
Assert.assertEquals(1, instances.size());
|
||||||
|
|
||||||
instances = naming.getAllInstances(serviceName, Arrays.asList("c2"));
|
instances = naming.getAllInstances(serviceName, Arrays.asList("c2"));
|
||||||
Assert.assertEquals(instances.size(), 1);
|
Assert.assertEquals(instances.size(), 1);
|
||||||
|
@ -202,7 +202,7 @@ public class MultiTenant_InstanceAPI_ITCase {
|
|||||||
.appendParam("namespaceId", "namespace-2")
|
.appendParam("namespaceId", "namespace-2")
|
||||||
.done(),
|
.done(),
|
||||||
String.class);
|
String.class);
|
||||||
Assert.assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, response.getStatusCode());
|
Assert.assertEquals(HttpStatus.NOT_FOUND, response.getStatusCode());
|
||||||
|
|
||||||
response = request("/nacos/v1/ns/instance/list",
|
response = request("/nacos/v1/ns/instance/list",
|
||||||
Params.newParams()
|
Params.newParams()
|
||||||
|
Loading…
Reference in New Issue
Block a user