Skip to content

Commit

Permalink
Precommit fix
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Garg <[email protected]>
  • Loading branch information
Harsh Garg committed Sep 10, 2024
1 parent c2fb148 commit b2a66b7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import org.opensearch.test.OpenSearchTestCase;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -96,7 +95,7 @@ public void testGetIndices() {
shardSegmentsList.add(new ShardSegments(shardRouting, segmentList));
}
}
Collections.shuffle(shardSegmentsList);
Collections.shuffle(shardSegmentsList, random());

// Prepare the IndicesSegmentResponse object and get the indicesSegments map
IndicesSegmentResponse response = new IndicesSegmentResponse(
Expand Down

0 comments on commit b2a66b7

Please sign in to comment.