Skip to content

Commit

Permalink
Wait for ES to finish startup during password tests (#75420) (#75566)
Browse files Browse the repository at this point in the history
Closes #74063.

Co-authored-by: Rory Hunter <[email protected]>
  • Loading branch information
elasticsearchmachine and pugnascotia authored Jul 21, 2021
1 parent e311f78 commit 59ef3df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,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 59ef3df

Please sign in to comment.