-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Wait for state publication in SLMFileSettingsIT.testSettingsApplied
#130869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#130853
|
Pinging @elastic/es-data-management (Team:Data Management) |
masseyke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'm not very familiar with this test though. Do we need the same awaitMasterNode() call in assertClusterStateNotSaved()? And is the call to awaitMasterNode() for a single node just before calling assertClusterStateSaveOK() now redundant?
|
Thanks for the review, @masseyke!
Good question, I hadn't considered it yet. Looking at it now, we don't need
Another great question! You're right; I've removed that call. Thanks a lot for the review! |
…elastic#130869) Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#130853
…elastic#130869) Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#130853
…37669) This is pretty much a copy of elastic#130869. Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#137258 (cherry picked from commit bc5bc54) # Conflicts: # muted-tests.yml
…37669) This is pretty much a copy of elastic#130869. Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#137258
…37669) This is pretty much a copy of elastic#130869. Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state. Fixes elastic#137258
Since the cluster state API no longer runs on the master node, we need to wait for the cluster state publication to have finished before retrieving the cluster state.
Fixes #130853