Skip to content

Remove dependency on waiting for master in cluster state API in tests #127212

Open
@nielsbauman

Description

@nielsbauman

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.

Metadata

Metadata

Assignees

Labels

:Distributed Coordination/DistributedA catch all label for anything in the Distributed Coordination area. Please avoid if you can.>testIssues or PRs that are addressing/adding testsTeam:Distributed CoordinationMeta label for Distributed Coordination team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions