Skip to content

Commit dd6484c

Browse files
authored
force merge in CachingEnableFilterQueryTests (#135148)
1 parent e660ebb commit dd6484c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,6 @@ tests:
531531
- class: org.elasticsearch.xpack.esql.expression.function.scalar.score.DecayTests
532532
method: "testEvaluateBlockWithNulls {TestCase=<integer>, <integer>, <integer>, <_source> #2}"
533533
issue: https://github.com/elastic/elasticsearch/issues/134679
534-
- class: org.elasticsearch.search.vectors.CachingEnableFilterQueryTests
535-
method: testTermQuery
536-
issue: https://github.com/elastic/elasticsearch/issues/134723
537534
- class: org.elasticsearch.discovery.DiscoveryDisruptionIT
538535
method: testElectMasterWithLatestVersion
539536
issue: https://github.com/elastic/elasticsearch/issues/134748
@@ -597,9 +594,6 @@ tests:
597594
- class: org.elasticsearch.cluster.routing.allocation.allocator.DesiredBalanceComputerTests
598595
method: testDesiredBalanceShouldConvergeInABigCluster
599596
issue: https://github.com/elastic/elasticsearch/issues/135123
600-
- class: org.elasticsearch.search.vectors.CachingEnableFilterQueryTests
601-
method: testBooleanQuery
602-
issue: https://github.com/elastic/elasticsearch/issues/135124
603597
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
604598
method: test {p0=transform/transforms_start_stop/Test stop transform with force and wait_for_checkpoint true}
605599
issue: https://github.com/elastic/elasticsearch/issues/135135

server/src/test/java/org/elasticsearch/search/vectors/CachingEnableFilterQueryTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public void testTermQuery() throws IOException {
5454
}
5555
iw.addDocument(doc);
5656
}
57+
iw.forceMerge(1);
5758

5859
try (IndexReader reader = iw.getReader()) {
5960
assertTrue(reader.leaves().size() == 1 && reader.hasDeletions() == false);
@@ -89,6 +90,7 @@ public void testBooleanQuery() throws IOException {
8990
doc.add(newStringField("f2", "bar", Field.Store.YES));
9091
iw.addDocument(doc);
9192
}
93+
iw.forceMerge(1);
9294

9395
try (IndexReader reader = iw.getReader()) {
9496
assertTrue(reader.leaves().size() == 1 && reader.hasDeletions() == false);

0 commit comments

Comments
 (0)