Skip to content

[9.1] Fix DiscoveryDisruptionIT.testElectMasterWithLatestVersion (#135396)#135435

Merged
JeremyDahlgren merged 1 commit intoelastic:9.1from
JeremyDahlgren:backport/9.1/pr-135396
Sep 26, 2025
Merged

[9.1] Fix DiscoveryDisruptionIT.testElectMasterWithLatestVersion (#135396)#135435
JeremyDahlgren merged 1 commit intoelastic:9.1from
JeremyDahlgren:backport/9.1/pr-135396

Conversation

@JeremyDahlgren
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…35396)

The clusterAdmin() call at the end of the test uses a random node,
which may not have been part of the current election, and may still
have an old cluster state, prior to the creation of the index in the
test.  The fix ensures we use the admin client for the master node.

Resolves: elastic#134748
(cherry picked from commit 119c682)

# Conflicts:
#	muted-tests.yml
Copy link
Copy Markdown
Contributor

@joshua-adams-1 joshua-adams-1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@JeremyDahlgren JeremyDahlgren merged commit 83b214e into elastic:9.1 Sep 26, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants