Remove dependency on waiting for master in cluster state API in tests #127212
Labels
:Distributed Coordination/Distributed
A catch all label for anything in the Distributed Coordination area. Please avoid if you can.
Team:Distributed Coordination
Meta label for Distributed Coordination team
>test
Issues or PRs that are addressing/adding tests
Currently, several tests depend on the cluster state API to wait for a master node to be present in the cluster state - see this snippet in
SpecificMasterNodesIT
for example.To allow
TransportClusterStateAction
to run on the local node (as part of #101805), we are removing the functionality of waiting for the master node. Therefore, we need to remove the dependency of these tests on that functionality. Addtionally, the cluster state API is not supposed to be used in production, meaning that these tests are the only real use case for waiting on the master node. We have different tools available in the test framework that allow us to wait for the master node.The text was updated successfully, but these errors were encountered: