We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea0930 commit b6f463fCopy full SHA for b6f463f
test/fixtures/old-elasticsearch/src/main/java/oldes/OldElasticsearch.java
@@ -121,5 +121,9 @@ public static void main(String[] args) throws IOException {
121
Path tmp = Files.createTempFile(baseDir, null, null);
122
Files.write(tmp, Integer.toString(port).getBytes(StandardCharsets.UTF_8));
123
Files.move(tmp, baseDir.resolve("ports"), StandardCopyOption.ATOMIC_MOVE);
124
+
125
+ tmp = Files.createTempFile(baseDir, null, null);
126
+ Files.write(tmp, Integer.toString(pid).getBytes(StandardCharsets.UTF_8));
127
+ Files.move(tmp, baseDir.resolve("pid"), StandardCopyOption.ATOMIC_MOVE);
128
}
129
0 commit comments