Skip to content

Commit

Permalink
Use random alphas rather than random alphanumerics
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Jan 2, 2025
1 parent 3a2bd0e commit d24dfc0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ protected GetDatabaseConfigurationAction.Response mutateInstance(GetDatabaseConf
}

private ClusterName getTestClusterName() {
return new ClusterName(randomAlphanumericOfLength(30));
return new ClusterName(randomAlphaOfLength(30));
}

private List<GetDatabaseConfigurationAction.NodeResponse> getTestNodeResponses() {
Expand All @@ -53,9 +53,9 @@ private List<FailedNodeException> getTestFailedNodeExceptions() {
0,
5,
() -> new FailedNodeException(
randomAlphanumericOfLength(10),
randomAlphanumericOfLength(20),
new ElasticsearchException(randomAlphanumericOfLength(10))
randomAlphaOfLength(10),
randomAlphaOfLength(20),
new ElasticsearchException(randomAlphaOfLength(10))
)
);
}
Expand Down

0 comments on commit d24dfc0

Please sign in to comment.