Skip to content

Commit

Permalink
fixed URL and client for testNodeStats in BWC tests
Browse files Browse the repository at this point in the history
Signed-off-by: Paras Jain <[email protected]>
  • Loading branch information
Paras Jain committed Sep 28, 2023
1 parent 4b89804 commit 4dfdb2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void testDataIngestionAndSearchBackwardsCompatibility() throws Exception
}

public void testNodeStats() throws IOException {
List<Response> responses = RestHelper.requestAgainstAllNodes(testUserRestClient, "GET", "_node/stats", null);
List<Response> responses = RestHelper.requestAgainstAllNodes(client(), "GET", "_nodes/stats", null);
responses.forEach(r -> Assert.assertEquals(200, r.getStatusLine().getStatusCode()));
}

Expand Down

0 comments on commit 4dfdb2c

Please sign in to comment.