Skip to content

Commit

Permalink
Reindex search response fix (elastic#49301)
Browse files Browse the repository at this point in the history
Fixed test case to also accept another error message, now that reindex
does not allow searching against red shards.

Closes elastic#49295
  • Loading branch information
henningandersen committed Nov 19, 2019
1 parent fd1bb4a commit bc29c98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public void testAbortOnVersionConflict() throws Exception {
* the whole process. We do lose some information about how far along the
* process got, but its important that they see these failures.
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/49295")
public void testResponseOnSearchFailure() throws Exception {
/*
* Attempt to trigger a reindex failure by deleting the source index out
Expand Down Expand Up @@ -120,7 +119,8 @@ public void testResponseOnSearchFailure() throws Exception {
either(containsString("all shards failed"))
.or(containsString("No search context found"))
.or(containsString("no such index [source]"))
);
.or(containsString("Failed to execute phase [query], Partial shards failure"))
);
return;
}
}
Expand Down

0 comments on commit bc29c98

Please sign in to comment.