Skip to content

Commit

Permalink
Fix transient failure in UT testIndicesRoutingDiffWhenIndexDeletedAnd…
Browse files Browse the repository at this point in the history
…Added.

Signed-off-by: Shailendra Singh <[email protected]>
  • Loading branch information
Shailendra Singh committed Sep 3, 2024
1 parent 41ba00a commit a5aad7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ public void testIndicesRoutingDiffWhenIndexDeletedAndAdded() {
String indexNameToDelete = allIndices.get(randomIntBetween(0, allIndices.size() - 1));
RoutingTable.Builder updatedRoutingTableBuilder = RoutingTable.builder(routingTable).remove(indexNameToDelete);

String indexName = randomAlphaOfLength(randomIntBetween(1, 50));
String indexName = randomAlphaOfLength(randomIntBetween(51, 100));
final IndexMetadata indexMetadata = new IndexMetadata.Builder(indexName).settings(
Settings.builder()
.put(IndexMetadata.SETTING_VERSION_CREATED, Version.CURRENT)
Expand Down

0 comments on commit a5aad7d

Please sign in to comment.