Skip to content

Commit 69f388c

Browse files
authored
Unmute test and fix for SearchWithRandomDisconnectsIT::testSearchWithRandomDisconnects (elastic#125838)
Provide a fix for a test execution and unmute the test.
1 parent 58c8f4a commit 69f388c

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
@@ -221,9 +221,6 @@ tests:
221221
- class: org.elasticsearch.blocks.SimpleBlocksIT
222222
method: testConcurrentAddBlock
223223
issue: https://github.com/elastic/elasticsearch/issues/122324
224-
- class: org.elasticsearch.search.basic.SearchWithRandomDisconnectsIT
225-
method: testSearchWithRandomDisconnects
226-
issue: https://github.com/elastic/elasticsearch/issues/122707
227224
- class: org.elasticsearch.xpack.esql.heap_attack.HeapAttackIT
228225
method: testEnrichExplosionManyMatches
229226
issue: https://github.com/elastic/elasticsearch/issues/122913

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;
@@ -29,6 +30,7 @@
2930

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

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

3436
public void testSearchWithRandomDisconnects() throws InterruptedException, ExecutionException {

0 commit comments

Comments
 (0)