Skip to content

Commit

Permalink
Merge pull request #1045 from alibaba/hotfix_test_case_error
Browse files Browse the repository at this point in the history
Hotfix test case error
  • Loading branch information
Fury Zhu authored Apr 10, 2019
2 parents 3041f0a + 18b8c95 commit 97ddd39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void dregDomClusterTest() throws Exception {

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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void multipleTenant_getInstance() throws Exception {
.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()
Expand Down

0 comments on commit 97ddd39

Please sign in to comment.