Skip to content

Commit

Permalink
correct the test cases
Browse files Browse the repository at this point in the history
Signed-off-by: srikanth padakanti <srikanth29.9@gmail.com>
  • Loading branch information
srikanthpadakanti committed Apr 17, 2024
1 parent 32dbbdd commit 664b51e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public void testIndicesOptions() {
request.indicesOptions(IndicesOptions.fromParameters("closed", null, null, "false", SearchRequest.DEFAULT_INDICES_OPTIONS));
response = client().execute(RankEvalAction.INSTANCE, request).actionGet();
assertEquals(1, response.getFailures().size());
assertThat(response.getFailures().get("amsterdam_query"), instanceOf(IndexClosedException.class));
assertThat(response.getFailures().get("amsterdam_query"), instanceOf(IllegalArgumentException.class));

// test allow_no_indices
request = new RankEvalRequest(task, new String[] { "bad*" });
Expand Down

0 comments on commit 664b51e

Please sign in to comment.