Skip to content

Commit 59ef3df

Browse files
Wait for ES to finish startup during password tests (#75420) (#75566)
Closes #74063. Co-authored-by: Rory Hunter <[email protected]>
1 parent e311f78 commit 59ef3df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/os/src/test/java/org/elasticsearch/packaging/test/PasswordToolsTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public void test010Install() throws Exception {
5252

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

0 commit comments

Comments
 (0)