Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmute FrozenSearchableSnapshotsIntegTests#testCreateAndRestorePartialSearchableSnapshot #122831

Merged
merged 5 commits into from
Feb 18, 2025
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
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,6 @@ tests:
- class: org.elasticsearch.xpack.autoscaling.storage.ReactiveStorageIT
method: testScaleWhileShrinking
issue: https://github.com/elastic/elasticsearch/issues/122119
- class: org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests
method: testCreateAndRestorePartialSearchableSnapshot
issue: https://github.com/elastic/elasticsearch/issues/122693
- class: org.elasticsearch.search.basic.SearchWithRandomDisconnectsIT
method: testSearchWithRandomDisconnects
issue: https://github.com/elastic/elasticsearch/issues/122707
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,8 @@ private void ensureLifecycleStarted() {
final Lifecycle.State state = lifecycleState();
assert state != Lifecycle.State.INITIALIZED : state;
if (state != Lifecycle.State.STARTED) {
if (state == Lifecycle.State.STOPPED) {
throw new AlreadyClosedException("Failed to read data from cache: cache service is stopped");
if (state == Lifecycle.State.STOPPED || state == Lifecycle.State.CLOSED) {
throw new AlreadyClosedException("Failed to read data from cache: cache service is [" + state + ']');
} else {
throw new IllegalStateException("Failed to read data from cache: cache service is not started [" + state + "]");
}
Expand Down