Skip to content

[ML] Wait for cluster state in test#143767

Merged
prwhelan merged 1 commit intoelastic:mainfrom
prwhelan:fix/82591
Mar 9, 2026
Merged

[ML] Wait for cluster state in test#143767
prwhelan merged 1 commit intoelastic:mainfrom
prwhelan:fix/82591

Conversation

@prwhelan
Copy link
Copy Markdown
Member

@prwhelan prwhelan commented Mar 6, 2026

Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve #82591

Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve elastic#82591
@prwhelan prwhelan added >test Issues or PRs that are addressing/adding tests :ml Machine learning Team:ML Meta label for the ML team v9.4.0 labels Mar 6, 2026
@prwhelan prwhelan changed the title fix/82591 [ML] Wait for cluster state in test Mar 6, 2026
@prwhelan prwhelan added auto-backport Automatically create backport pull requests when merged branch:9.2 branch:8.19 branch:9.3 labels Mar 6, 2026
@prwhelan prwhelan marked this pull request as ready for review March 6, 2026 20:30
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (Team:ML)

Copy link
Copy Markdown
Contributor

@edsavage edsavage left a comment

Choose a reason for hiding this comment

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

LGTM

@prwhelan prwhelan merged commit 1730a5b into elastic:main Mar 9, 2026
36 checks passed
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve elastic#82591
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

💚 Backport successful

Status Branch Result
9.3
8.19
9.2

prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve elastic#82591
prwhelan added a commit to prwhelan/elasticsearch that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve elastic#82591
elasticsearchmachine pushed a commit that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve #82591
elasticsearchmachine pushed a commit that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve #82591
elasticsearchmachine pushed a commit that referenced this pull request Mar 9, 2026
Before the test ends, wait until all of our cluster state changes have
propagated to all nodes. This fixes an inconsistent test failure where
one node has the latest changes and returns the datafeed stats while
another node is still updating with the latest state of the datafeed and
cannot clean it up after the test.

Resolve #82591
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :ml Machine learning Team:ML Meta label for the ML team >test Issues or PRs that are addressing/adding tests v8.19.13 v9.2.7 v9.3.2 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] BasicDistributedJobsIT testFailOverBasics_withDataFeeder failing

3 participants