Skip to content

Commit ffc31fd

Browse files
authored
fixes and unmutes testSearchableSnapshotShardsAreSkipped... (#118133) (#118138)
(cherry picked from commit 0a2c9fb) # Conflicts: # muted-tests.yml
1 parent af84c61 commit ffc31fd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,6 @@ tests:
269269
- class: org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT
270270
method: test {p0=esql/61_enrich_ip/IP strings}
271271
issue: https://github.com/elastic/elasticsearch/issues/116529
272-
- class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests
273-
method: testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQueryingAnyNodeWhenTheyAreOutsideOfTheQueryRange
274-
issue: https://github.com/elastic/elasticsearch/issues/116523
275272
- class: org.elasticsearch.xpack.inference.DefaultEndPointsIT
276273
method: testInferDeploysDefaultElser
277274
issue: https://github.com/elastic/elasticsearch/issues/114913

x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshotsCanMatchOnCoordinatorIntegTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public void testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQuerying
379379
}
380380
if (searchShardsResponse != null) {
381381
for (SearchShardsGroup group : searchShardsResponse.getGroups()) {
382-
assertFalse("no shard should be marked as skipped", group.skipped());
382+
assertTrue("the shard is skipped because index value is outside the query time range", group.skipped());
383383
}
384384
}
385385
}

0 commit comments

Comments
 (0)