Skip to content

Commit

Permalink
Use random string instead of number sequence
Browse files Browse the repository at this point in the history
Signed-off-by: zane-neo <[email protected]>
  • Loading branch information
zane-neo committed Dec 5, 2024
1 parent c67bb36 commit 286333d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void setUpCluster() throws Exception {
private List<String> createIndices(int count) throws IOException {
List<String> indices = new ArrayList<>();
for (int i = 0; i < count; i++) {
String indexName = "test" + i;
String indexName = "test" + randomAlphaOfLength(5);
createIndex(indexName, Settings.EMPTY);
indices.add(indexName);
}
Expand Down

0 comments on commit 286333d

Please sign in to comment.