diff --git a/test/fixtures/old-elasticsearch/src/main/java/oldes/OldElasticsearch.java b/test/fixtures/old-elasticsearch/src/main/java/oldes/OldElasticsearch.java index 7cb7fc4f142b8..bfdba42ee49ad 100644 --- a/test/fixtures/old-elasticsearch/src/main/java/oldes/OldElasticsearch.java +++ b/test/fixtures/old-elasticsearch/src/main/java/oldes/OldElasticsearch.java @@ -121,5 +121,9 @@ public static void main(String[] args) throws IOException { Path tmp = Files.createTempFile(baseDir, null, null); Files.write(tmp, Integer.toString(port).getBytes(StandardCharsets.UTF_8)); Files.move(tmp, baseDir.resolve("ports"), StandardCopyOption.ATOMIC_MOVE); + + tmp = Files.createTempFile(baseDir, null, null); + Files.write(tmp, Integer.toString(pid).getBytes(StandardCharsets.UTF_8)); + Files.move(tmp, baseDir.resolve("pid"), StandardCopyOption.ATOMIC_MOVE); } }