Skip to content

Commit

Permalink
Modify testNodeCountsWithDeprecatedMasterRole to start with cluster m…
Browse files Browse the repository at this point in the history
…anager role

Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
  • Loading branch information
sandeshkr419 committed Feb 16, 2023
1 parent 749f9f1 commit d3df6ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void testNodeCounts() {
public void testNodeCountsWithDeprecatedMasterRole() {
int total = 1;
Settings settings = Settings.builder()
.putList(NodeRoleSettings.NODE_ROLES_SETTING.getKey(), Collections.singletonList(DiscoveryNodeRole.MASTER_ROLE.roleName()))
.putList(NodeRoleSettings.NODE_ROLES_SETTING.getKey(), Collections.singletonList(DiscoveryNodeRole.CLUSTER_MANAGER_ROLE.roleName()))
.build();
internalCluster().startNode(settings);
waitForNodes(total);
Expand Down

0 comments on commit d3df6ee

Please sign in to comment.