Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,6 @@ tests:
- class: org.elasticsearch.search.SearchWithRejectionsIT
method: testOpenContextsAfterRejections
issue: https://github.com/elastic/elasticsearch/issues/130821
- class: org.elasticsearch.xpack.esql.ccq.MultiClustersIT
method: testLookupJoinAliases
issue: https://github.com/elastic/elasticsearch/issues/131166
- class: org.elasticsearch.packaging.test.DockerTests
method: test090SecurityCliPackaging
issue: https://github.com/elastic/elasticsearch/issues/131107
Expand Down Expand Up @@ -408,9 +405,6 @@ tests:
- class: org.elasticsearch.compute.lucene.read.SortedSetOrdinalsBuilderTests
method: testReader
issue: https://github.com/elastic/elasticsearch/issues/131573
- class: org.elasticsearch.xpack.esql.ccq.MultiClustersIT
method: testLookupJoinAliasesSkipOld
issue: https://github.com/elastic/elasticsearch/issues/131697
- class: org.elasticsearch.packaging.test.DockerTests
method: test151MachineDependentHeapWithSizeOverride
issue: https://github.com/elastic/elasticsearch/issues/123437
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,13 @@ private void setupLookupIndices() throws IOException {
"morecolor": { "type": "keyword" }
}
""";
var lookupDocs = IntStream.range(0, between(1, 5))
.mapToObj(n -> new Doc(n, randomFrom("red", "yellow", "green"), randomIntBetween(1, 1000)))
.toList();
var randomDocsData = new ArrayList<Integer>();
var lookupDocs = IntStream.range(0, between(1, 5)).mapToObj(n -> {
String color = randomFrom("red", "yellow", "green");
int data = randomValueOtherThanMany(i -> randomDocsData.contains(i), () -> randomIntBetween(1, 1000));
randomDocsData.add(data);
return new Doc(n, color, data);
}).toList();
createIndex(
localClient,
lookupIndexLocal,
Expand Down