Skip to content
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 @@ -361,9 +361,6 @@ tests:
- class: org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT
method: test {yaml=reference/cat/health/cat-health-no-timestamp-example}
issue: https://github.com/elastic/elasticsearch/issues/121867
- class: org.elasticsearch.xpack.searchablesnapshots.FrozenSearchableSnapshotsIntegTests
method: testCreateAndRestorePartialSearchableSnapshot
issue: https://github.com/elastic/elasticsearch/issues/121927
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
issue: https://github.com/elastic/elasticsearch/issues/121625
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,11 @@ private void ensureLifecycleStarted() {
final Lifecycle.State state = lifecycleState();
assert state != Lifecycle.State.INITIALIZED : state;
if (state != Lifecycle.State.STARTED) {
throw new IllegalStateException("Failed to read data from cache: cache service is not started [" + state + "]");
if (state == Lifecycle.State.STOPPED) {
throw new AlreadyClosedException("Failed to read data from cache: cache service is stopped");
} else {
throw new IllegalStateException("Failed to read data from cache: cache service is not started [" + state + "]");
}
}
}

Expand Down