Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

This test suite can stop all the shared master-eligible nodes, which breaks the
cluster since any non-shared master-eligible nodes are stopped first in the
reset process between tests.

Since this test suite can leave the cluster in this somewhat broken state, it
seems best that it uses a new cluster for each test.

This test suite can stop all the shared master-eligible nodes, which breaks the
cluster since any non-shared master-eligible nodes are stopped first in the
reset process between tests.

Since this test suite can leave the cluster in this somewhat broken state, it
seems best that it uses a new cluster for each test.
@DaveCTurner DaveCTurner added >test Issues or PRs that are addressing/adding tests v7.0.0 :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. labels Dec 3, 2018
@DaveCTurner DaveCTurner requested a review from ywelsch December 3, 2018 17:21
Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

wipePendingDataDirectories();
}

assert nodes.isEmpty() || nodes.values().stream().anyMatch(NodeAndClient::isMasterEligible)
Copy link
Contributor

Choose a reason for hiding this comment

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

can you use assertTrue here so that this does not only fail when assertions are enabled?

@DaveCTurner DaveCTurner merged commit 034c765 into elastic:zen2 Dec 4, 2018
@DaveCTurner DaveCTurner deleted the 2018-12-03-fix-NodeDisconnectIT branch December 4, 2018 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >test Issues or PRs that are addressing/adding tests v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants