Skip to content

Commit

Permalink
Fix UTs
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Bandejiya <abandeji@amazon.com>
  • Loading branch information
Arpit-Bandejiya committed Mar 21, 2024
1 parent d7657af commit 566c7ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public void testGlobalPrimaryBalance() throws Exception {
*/
public void testGlobalPrimaryBalanceWithNodeDrops() throws Exception {
final float buffer = 0.05f;
AllocationService strategy = createAllocationService(getSettingsBuilderForPrimaryBalance().build(), new TestGatewayAllocator());
AllocationService strategy = createAllocationService(getSettingsBuilderForPrimaryReBalance().build(), new TestGatewayAllocator());
ClusterState clusterState = ClusterState.builder(CLUSTER_NAME_SETTING.getDefault(Settings.EMPTY)).build();
clusterState = addNode(clusterState, strategy);
clusterState = addNode(clusterState, strategy);
Expand Down

0 comments on commit 566c7ef

Please sign in to comment.