diff --git a/modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/lifecycle/ExplainDataStreamLifecycleIT.java b/modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/lifecycle/ExplainDataStreamLifecycleIT.java index 1a5c5ecfb74b6..a92d5ac98f148 100644 --- a/modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/lifecycle/ExplainDataStreamLifecycleIT.java +++ b/modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/lifecycle/ExplainDataStreamLifecycleIT.java @@ -486,7 +486,9 @@ public void testExplainLifecycleForIndicesWithErrors() throws Exception { * succeed, and there will always be an error in the error store. This behavior is subject to change in the future. */ assertThat(response.getIndices().get(0).getError(), is(notNullValue())); - assertThat(response.getIndices().get(1).getError(), is(nullValue())); + assertThat(response.getIndices().get(0).getError().error(), containsString("Force merge request ")); + assertThat(response.getIndices().get(1).getError(), is(notNullValue())); + assertThat(response.getIndices().get(1).getError().error(), containsString("Force merge request ")); } }); } diff --git a/muted-tests.yml b/muted-tests.yml index c6274fc919768..2db0b156fe387 100644 --- a/muted-tests.yml +++ b/muted-tests.yml @@ -387,9 +387,6 @@ tests: - class: org.elasticsearch.xpack.searchablesnapshots.SearchableSnapshotsIntegTests method: testCreateAndRestoreSearchableSnapshot issue: https://github.com/elastic/elasticsearch/issues/119709 -- class: org.elasticsearch.datastreams.lifecycle.ExplainDataStreamLifecycleIT - method: testExplainLifecycleForIndicesWithErrors - issue: https://github.com/elastic/elasticsearch/issues/126252 - class: org.elasticsearch.xpack.test.rest.XPackRestIT method: test {p0=transform/transforms_stats/Test get transform stats} issue: https://github.com/elastic/elasticsearch/issues/126270