Skip to content

Conversation

gmarouli
Copy link
Contributor

@gmarouli gmarouli commented Apr 4, 2025

This test had a copy paste mistake. When the cluster has only one data node the replicas cannot be assigned so we end up with a force merge error. In the case of the failure store this was not asserted correctly.

On the other hand, this test only checked for the existence of an error and it was not ensuring that the current error is not the rollover error that should have recovered. We make this test a bit more explicit.

Fixes: #126252

@gmarouli gmarouli added >test Issues or PRs that are addressing/adding tests :Data Management/Data streams Data streams and their lifecycles labels Apr 4, 2025
@gmarouli gmarouli requested a review from nielsbauman April 4, 2025 10:53
@elasticsearchmachine elasticsearchmachine added Team:Data Management Meta label for data/management team v9.1.0 labels Apr 4, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@nielsbauman nielsbauman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the quick fix :)

P.S. don't forget to close the test issue with this PR :)

@gmarouli gmarouli added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Apr 4, 2025
@elasticsearchmachine elasticsearchmachine merged commit a525b3d into elastic:main Apr 4, 2025
17 checks passed
@gmarouli gmarouli deleted the fix-test-ExplainLifecycleForIndicesWithErrors branch April 4, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Data Management/Data streams Data streams and their lifecycles Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ExplainDataStreamLifecycleIT testExplainLifecycleForIndicesWithErrors failing

3 participants