Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,6 @@ tests:
- class: org.elasticsearch.packaging.test.DockerTests
method: test050BasicApiTests
issue: https://github.com/elastic/elasticsearch/issues/120911
- class: org.elasticsearch.xpack.search.CrossClusterAsyncSearchIT
method: testCancellationViaTimeoutWithAllowPartialResultsSetToFalse
issue: https://github.com/elastic/elasticsearch/issues/131248
- class: org.elasticsearch.packaging.test.DockerTests
method: test010Install
issue: https://github.com/elastic/elasticsearch/issues/131376
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,7 @@ public void testCancellationViaTimeoutWithAllowPartialResultsSetToFalse() throws
String remoteIndex = (String) testClusterInfo.get("remote.index");

SearchListenerPlugin.blockLocalQueryPhase();
SearchListenerPlugin.blockRemoteQueryPhase();

TimeValue searchTimeout = new TimeValue(100, TimeUnit.MILLISECONDS);
// query builder that will sleep for the specified amount of time in the query phase
Expand Down Expand Up @@ -1810,6 +1811,7 @@ public void testCancellationViaTimeoutWithAllowPartialResultsSetToFalse() throws

} finally {
SearchListenerPlugin.allowLocalQueryPhase();
SearchListenerPlugin.allowRemoteQueryPhase();
}

// query phase has begun, so wait for query failure (due to timeout)
Expand Down