Skip to content

Commit

Permalink
fix failure IT
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 286333d commit 99b3130
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.util.List;
import java.util.Objects;

import org.apache.commons.lang3.StringUtils;
import org.junit.Before;
import org.opensearch.client.Response;
import org.opensearch.common.settings.Settings;
Expand All @@ -39,7 +40,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" + randomAlphaOfLength(5);
String indexName = "test" + StringUtils.toRootLowerCase(randomAlphaOfLength(5));
createIndex(indexName, Settings.EMPTY);
indices.add(indexName);
}
Expand Down

0 comments on commit 99b3130

Please sign in to comment.