Skip to content

Commit 093673a

Browse files
authored
fixes and unmutes testSearchableSnapshotShardsAreSkipped... (#118133) (#118140)
(cherry picked from commit 0a2c9fb) # Conflicts: # muted-tests.yml
1 parent e52a6f2 commit 093673a

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
@@ -274,9 +274,6 @@ tests:
274274
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
275275
method: test {categorize.Categorize SYNC}
276276
issue: https://github.com/elastic/elasticsearch/issues/113054
277-
- class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests
278-
method: testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQueryingAnyNodeWhenTheyAreOutsideOfTheQueryRange
279-
issue: https://github.com/elastic/elasticsearch/issues/116523
280277
- class: org.elasticsearch.ingest.geoip.EnterpriseGeoIpDownloaderIT
281278
method: testEnterpriseDownloaderTask
282279
issue: https://github.com/elastic/elasticsearch/issues/115163

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
@@ -378,7 +378,7 @@ public void testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQuerying
378378
}
379379
if (searchShardsResponse != null) {
380380
for (SearchShardsGroup group : searchShardsResponse.getGroups()) {
381-
assertFalse("no shard should be marked as skipped", group.skipped());
381+
assertTrue("the shard is skipped because index value is outside the query time range", group.skipped());
382382
}
383383
}
384384
}

0 commit comments

Comments
 (0)