Skip to content

Commit

Permalink
Wait for ES to finish startup during password tests (elastic#75420)
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia authored Jul 21, 2021
1 parent ec7d9d2 commit a21ca10
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void test010Install() throws Exception {

public void test20GeneratePasswords() throws Exception {
assertWhileRunning(() -> {
ServerUtils.waitForElasticsearch(installation);
Shell.Result result = installation.executables().setupPasswordsTool.run("auto --batch", null);
Map<String, String> userpasses = parseUsersAndPasswords(result.stdout);
for (Map.Entry<String, String> userpass : userpasses.entrySet()) {
Expand Down

0 comments on commit a21ca10

Please sign in to comment.