OpenSearch/x-pack/plugin/voting-only-node/src
David Turner 55f1dd8da6 Close nodes properly in Coordinator tests (#44967)
Today closing a `ClusterNode` in an `AbstractCoordinatorTestCase` uses
`onNode()` so has no effect if the node is not in the current list of nodes.
It also discards the `Runnable` it creates without having run it, so has no
effect anyway.

This commit makes these tests much stricter about properly closing the nodes
started during `Coordinator` tests, by tracking the persisted states that are
opened, and adds an assertion to catch the trappy requirement that the closing
node still belongs to the cluster.
2019-07-30 11:47:36 +01:00
..
main/java/org/elasticsearch/cluster/coordination Handle situation where only voting-only nodes are bootstrapped (#43628) 2019-06-27 18:10:15 +02:00
test/java/org/elasticsearch/cluster/coordination Close nodes properly in Coordinator tests (#44967) 2019-07-30 11:47:36 +01:00