Skip to content

Commit 0a2c9fb

Browse files
authored
fixes and unmutes testSearchableSnapshotShardsAreSkipped... (#118133)
1 parent f27cb5e commit 0a2c9fb

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
@@ -132,9 +132,6 @@ tests:
132132
- class: org.elasticsearch.reservedstate.service.FileSettingsServiceTests
133133
method: testInvalidJSON
134134
issue: https://github.com/elastic/elasticsearch/issues/116521
135-
- class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsCanMatchOnCoordinatorIntegTests
136-
method: testSearchableSnapshotShardsAreSkippedBySearchRequestWithoutQueryingAnyNodeWhenTheyAreOutsideOfTheQueryRange
137-
issue: https://github.com/elastic/elasticsearch/issues/116523
138135
- class: org.elasticsearch.reservedstate.service.RepositoriesFileSettingsIT
139136
method: testSettingsApplied
140137
issue: https://github.com/elastic/elasticsearch/issues/116694

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)