Skip to content

Commit

Permalink
Revert "Modify testNodeCountsWithDeprecatedMasterRole to start with c…
Browse files Browse the repository at this point in the history
…luster manager role"

This reverts commit d3df6ee.
  • Loading branch information
sandeshkr419 committed Mar 1, 2023
1 parent a4fedf3 commit 5bf7962
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void testNodeCounts() {
public void testNodeCountsWithDeprecatedMasterRole() {
int total = 1;
Settings settings = Settings.builder()
.putList(NodeRoleSettings.NODE_ROLES_SETTING.getKey(), Collections.singletonList(DiscoveryNodeRole.CLUSTER_MANAGER_ROLE.roleName()))
.putList(NodeRoleSettings.NODE_ROLES_SETTING.getKey(), Collections.singletonList(DiscoveryNodeRole.MASTER_ROLE.roleName()))
.build();
internalCluster().startNode(settings);
waitForNodes(total);
Expand Down

0 comments on commit 5bf7962

Please sign in to comment.