Skip to content

Commit

Permalink
Merge branch 'createpit' of github.com:bharath-techie/OpenSearch into…
Browse files Browse the repository at this point in the history
… deletepit
  • Loading branch information
bharath-techie committed May 2, 2022
2 parents 77be351 + 232179e commit 849d1d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public void testInvalidQuery() throws Exception {
);
Throwable rootCause = findRootCause(exc);
assertThat(rootCause.getClass(), equalTo(SearchException.class));
assertThat(rootCause.getMessage(), equalTo("`slice` cannot be used outside of a scroll context"));
assertThat(rootCause.getMessage(), equalTo("`slice` cannot be used outside of a scroll context or PIT context"));
}

private void assertSearchSlicesWithScroll(SearchRequestBuilder request, String field, int numSlice, int numDocs) {
Expand Down

0 comments on commit 849d1d3

Please sign in to comment.