Skip to content

Commit 092baeb

Browse files
committed
Fix compilation failure in :qa:vagrant (#40083)
1 parent 7b7f4a2 commit 092baeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qa/vagrant/src/main/java/org/elasticsearch/packaging/test/ArchiveTestCase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,8 @@ public void test93ElasticsearchNodeCustomDataPathAndNotEsHomeWorkDir() throws IO
372372
Archives.runElasticsearch(installation);
373373
Archives.stopElasticsearch(installation);
374374

375-
final Shell sh = new Shell(getTempDir());
375+
final Shell sh = new Shell();
376+
sh.setWorkingDirectory(getTempDir());
376377

377378
Result result = sh.run("echo y | " + installation.executables().elasticsearchNode + " unsafe-bootstrap");
378379
assertThat(result.stdout, containsString("Master node was successfully bootstrapped"));

0 commit comments

Comments
 (0)