Skip to content

Commit 876ea52

Browse files
authored
Update ValuesSourceReaderOperatorTests test condition for changes in lucene (#133807)
1 parent 4b3b2f7 commit 876ea52

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

muted-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -393,12 +393,6 @@ tests:
393393
- class: org.elasticsearch.packaging.test.DockerTests
394394
method: test010Install
395395
issue: https://github.com/elastic/elasticsearch/issues/131376
396-
- class: org.elasticsearch.compute.lucene.read.ValuesSourceReaderOperatorTests
397-
method: testLoadLongShuffledManySegments
398-
issue: https://github.com/elastic/elasticsearch/issues/132258
399-
- class: org.elasticsearch.compute.lucene.read.ValuesSourceReaderOperatorTests
400-
method: testLoadLongManySegments
401-
issue: https://github.com/elastic/elasticsearch/issues/132258
402396
- class: org.elasticsearch.packaging.test.DockerTests
403397
method: test151MachineDependentHeapWithSizeOverride
404398
issue: https://github.com/elastic/elasticsearch/issues/123437

x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/lucene/read/ValuesSourceReaderOperatorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ private void testLoadLong(boolean shuffle, boolean manySegments) throws IOExcept
943943

944944
DriverContext driverContext = driverContext();
945945
List<Page> input = CannedSourceOperator.collectPages(sourceOperator(driverContext, numDocs));
946-
assertThat(reader.leaves(), hasSize(manySegments ? greaterThan(5) : equalTo(1)));
946+
assertThat(reader.leaves(), hasSize(manySegments ? greaterThan(1) : equalTo(1)));
947947
assertThat(input, hasSize(reader.leaves().size()));
948948
if (manySegments) {
949949
input = List.of(CannedSourceOperator.mergePages(input));

0 commit comments

Comments
 (0)