Skip to content

Commit 7935439

Browse files
authored
Increase await timeout for testCancelFailedSearchWhenPartialResultDisallowed (elastic#123084) (elastic#123335)
(cherry picked from commit 688542b) # Conflicts: # muted-tests.yml
1 parent f4aeeb0 commit 7935439

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
@@ -459,6 +459,3 @@ tests:
459459
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
460460
method: test {p0=data_stream/80_resolve_index_data_streams/Resolve index with hidden and closed indices}
461461
issue: https://github.com/elastic/elasticsearch/issues/123081
462-
- class: org.elasticsearch.search.SearchCancellationIT
463-
method: testCancelFailedSearchWhenPartialResultDisallowed
464-
issue: https://github.com/elastic/elasticsearch/issues/121719

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)