Skip to content

Fix tests depending on _ilm/status API#129416

Merged
nielsbauman merged 1 commit intoelastic:mainfrom
nielsbauman:fix-ilm-tests
Jun 13, 2025
Merged

Fix tests depending on _ilm/status API#129416
nielsbauman merged 1 commit intoelastic:mainfrom
nielsbauman:fix-ilm-tests

Conversation

@nielsbauman
Copy link
Contributor

Since #129367 we run the _ilm/status API on the local node, which could cause issues in tests that assume the API runs on the master node (i.e. they assumed that once the assertion passed, all nodes in the cluster would have that cluster state, which is not true).

There's no test issue yet, I just happened to run into a failure on a branch of my own.

Since elastic#129367 we run the `_ilm/status` API on the local node, which
could cause issues in tests that assume the API runs on the master node
(i.e. they assumed that once the assertion passed, all nodes in the
cluster would have that cluster state, which is not true).
@nielsbauman nielsbauman requested a review from dakrone June 13, 2025 14:41
@nielsbauman nielsbauman added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. labels Jun 13, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine elasticsearchmachine added Team:Data Management (obsolete) DO NOT USE. This team no longer exists. v9.1.0 labels Jun 13, 2025
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM

@nielsbauman nielsbauman enabled auto-merge (squash) June 13, 2025 14:55
@nielsbauman nielsbauman merged commit af26920 into elastic:main Jun 13, 2025
17 of 18 checks passed
@nielsbauman nielsbauman deleted the fix-ilm-tests branch June 13, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >test Issues or PRs that are addressing/adding tests v9.1.0

3 participants