Skip to content

Commit daed71c

Browse files
committed
Increase await timeout for testCancelFailedSearchWhenPartialResultDisallowed
1 parent 171a3b9 commit daed71c

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
@@ -260,9 +260,6 @@ tests:
260260
- class: org.elasticsearch.test.rest.ClientYamlTestSuiteIT
261261
method: test {yaml=snapshot.delete/10_basic/Delete a snapshot asynchronously}
262262
issue: https://github.com/elastic/elasticsearch/issues/122102
263-
- class: org.elasticsearch.search.SearchCancellationIT
264-
method: testCancelFailedSearchWhenPartialResultDisallowed
265-
issue: https://github.com/elastic/elasticsearch/issues/121719
266263
- class: org.elasticsearch.datastreams.TSDBPassthroughIndexingIT
267264
issue: https://github.com/elastic/elasticsearch/issues/121716
268265
- 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)