Skip to content

Commit 688542b

Browse files
authored
Increase await timeout for testCancelFailedSearchWhenPartialResultDisallowed (#123084)
1 parent 1c7d17c commit 688542b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ tests:
257257
- class: org.elasticsearch.test.rest.ClientYamlTestSuiteIT
258258
method: test {yaml=snapshot.delete/10_basic/Delete a snapshot asynchronously}
259259
issue: https://github.com/elastic/elasticsearch/issues/122102
260-
- class: org.elasticsearch.search.SearchCancellationIT
261-
method: testCancelFailedSearchWhenPartialResultDisallowed
262-
issue: https://github.com/elastic/elasticsearch/issues/121719
263260
- class: org.elasticsearch.datastreams.TSDBPassthroughIndexingIT
264261
issue: https://github.com/elastic/elasticsearch/issues/121716
265262
- class: org.elasticsearch.smoketest.SmokeTestMonitoringWithSecurityIT

server/src/internalClusterTest/java/org/elasticsearch/search/SearchCancellationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void testCancelFailedSearchWhenPartialResultDisallowed() throws Exception
267267
if (letOneShardProceed.compareAndSet(false, true)) {
268268
// Let one shard continue.
269269
} else {
270-
safeAwait(shardTaskLatch); // Block the other shards.
270+
safeAwait(shardTaskLatch, TimeValue.timeValueSeconds(30)); // Block the other shards.
271271
}
272272
});
273273
}

0 commit comments

Comments
 (0)