Skip to content

Conversation

joshua-adams-1
Copy link
Contributor

Unmutes the failing test
testNodeTriesToJoinClusterAndThenSameMasterIsElected and adds test logging inside the Coordinator, MasterService and NodeJoinExecutor classes

Unmutes the failing test
testNodeTriesToJoinClusterAndThenSameMasterIsElected and adds test
logging inside the Coordinator, MasterService and NodeJoinExecutor
classes
@joshua-adams-1 joshua-adams-1 self-assigned this Oct 13, 2025
@joshua-adams-1 joshua-adams-1 added >test Issues or PRs that are addressing/adding tests :Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. labels Oct 13, 2025
@DaveCTurner
Copy link
Contributor

This test fails reasonably readily for me, I suspect you just need to run more iterations yourself. Try something like this (and then go away and make a drink):

while ./gradlew :server:internalclustertest --tests 'org.elasticsearch.cluster.coordination.NodeJoiningIT.testNodeTriesToJoinClusterAndThenSameMasterIsElected' -Dtests.iters=100 -Dtests.failfast=true; do :; done

Maybe also run stress-ng --cpu 16 in another terminal.

@pxsalehi
Copy link
Member

Isn't this the same as the one on Friday?
#136381

@joshua-adams-1
Copy link
Contributor Author

Thanks both. @pxsalehi I added more classes here to get DEBUG logs from, but I was lucky and the CI failed on my test so I now have all the logs I was looking for without needing to merge!

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

Labels

:Distributed Coordination/Distributed A catch all label for anything in the Distributed Coordination area. Please avoid if you can. >test Issues or PRs that are addressing/adding tests v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants