Skip to content

Commit 92a65be

Browse files
committed
Remove eof from expect script (#84287)
Hopefully fixes #84204. When we build an expect script in the packaging tests, we insert `expect eof` after supplying the password. This makes expect wait until the output of ES is closed, which isn't actaully what we want, as we then go on to expect on a number of other outputs. So, remove this `eof`, and let the other expectations do their work.
1 parent 6fcb25c commit 92a65be

File tree

1 file changed

+0
-1
lines changed
  • qa/os/src/test/java/org/elasticsearch/packaging/util

1 file changed

+0
-1
lines changed

qa/os/src/test/java/org/elasticsearch/packaging/util/Archives.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ public static Shell.Result startElasticsearchWithTty(
255255
String keystoreScript = keystorePassword == null ? "" : """
256256
expect "Elasticsearch keystore password:"
257257
send "%s\\r"
258-
expect eof
259258
""".formatted(keystorePassword);
260259
String checkStartupScript = daemonize ? "" : """
261260
expect {

0 commit comments

Comments
 (0)