Skip to content

Commit

Permalink
fixing test after merging main
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpailis committed Jul 29, 2024
1 parent a52e530 commit 46689a3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ public void testRewriteCompoundRetrieverShouldThrowForPartialResults() throws Ex
SearchPhaseExecutionException.class,
client().prepareSearch(testIndex).setSource(source)::get
);
assertThat(ex.getDetailedMessage(), containsString("Search rejected due to missing shards"));
assertThat(
ex.getDetailedMessage(),
containsString("[open_point_in_time] action requires all shards to be available. Missing shards")
);
} finally {
internalCluster().restartNode(randomDataNode);
}
Expand Down

0 comments on commit 46689a3

Please sign in to comment.