Skip to content

Commit be276ae

Browse files
authored
[8.18] Unmute test and fix for SearchWithRandomDisconnectsIT::testSearchWithRandomDisconnects (#125838) (#126095)
* annotate test class and umnute test * Add missing import
1 parent 8109860 commit be276ae

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,6 @@ tests:
241241
- class: org.elasticsearch.xpack.inference.InferenceRestIT
242242
method: test {p0=inference/30_semantic_text_inference_bwc/Calculates embeddings using the default ELSER 2 endpoint}
243243
issue: https://github.com/elastic/elasticsearch/issues/117349
244-
- class: org.elasticsearch.search.basic.SearchWithRandomDisconnectsIT
245-
method: testSearchWithRandomDisconnects
246-
issue: https://github.com/elastic/elasticsearch/issues/116175
247244
- class: org.elasticsearch.discovery.ClusterDisruptionIT
248245
method: testAckedIndexing
249246
issue: https://github.com/elastic/elasticsearch/issues/117024

server/src/internalClusterTest/java/org/elasticsearch/search/basic/SearchWithRandomDisconnectsIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99
package org.elasticsearch.search.basic;
1010

11+
import org.apache.lucene.tests.util.LuceneTestCase;
1112
import org.elasticsearch.action.ActionListener;
1213
import org.elasticsearch.action.bulk.BulkRequestBuilder;
1314
import org.elasticsearch.action.search.SearchRequestBuilder;
@@ -28,6 +29,7 @@
2829

2930
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
3031

32+
@LuceneTestCase.SuppressFileSystems(value = "HandleLimitFS") // we sometimes have >2048 open files
3133
public class SearchWithRandomDisconnectsIT extends AbstractDisruptionTestCase {
3234

3335
public void testSearchWithRandomDisconnects() throws InterruptedException, ExecutionException {

0 commit comments

Comments
 (0)