Skip to content

Commit 8f4f54e

Browse files
authored
fixes and unmutes testSearchableSnapshotShardsAreSkipped... (#118133) (#118139)
(cherry picked from commit 0a2c9fb) # Conflicts: # muted-tests.yml
1 parent db4f330 commit 8f4f54e

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
@@ -293,9 +293,6 @@ tests:
293293
- class: org.elasticsearch.xpack.esql.qa.mixed.EsqlClientYamlIT
294294
method: test {p0=esql/61_enrich_ip/IP strings}
295295
issue: https://github.com/elastic/elasticsearch/issues/116529
296-
- class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests
297-
method: testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQueryingAnyNodeWhenTheyAreOutsideOfTheQueryRange
298-
issue: https://github.com/elastic/elasticsearch/issues/116523
299296
- class: org.elasticsearch.xpack.inference.DefaultEndPointsIT
300297
method: testInferDeploysDefaultElser
301298
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)