Skip to content

Commit

Permalink
github-12386: set java.io.tmpdir in replicator tests' forked processes (
Browse files Browse the repository at this point in the history
  • Loading branch information
msokolov authored and Michael Sokolov committed Jun 23, 2023
1 parent 75274ad commit ddcaa59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ private NodeProcess startNode(
long seed = random().nextLong() * nodeStartCounter.incrementAndGet();
cmd.add("-Dtests.seed=" + SeedUtils.formatSeed(seed));
cmd.add("-ea");
cmd.add("-Djava.io.tmpdir=" + childTempDir.toFile());

cmd.addAll(getJvmForkArguments());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ NodeProcess startNode(final int id, Path indexPath, boolean isPrimary, long forc
long seed = random().nextLong() * nodeStartCounter.incrementAndGet();
cmd.add("-Dtests.seed=" + SeedUtils.formatSeed(seed));
cmd.add("-ea");
cmd.add("-Djava.io.tmpdir=" + childTempDir.toFile());
cmd.addAll(getJvmForkArguments());
cmd.add("org.junit.runner.JUnitCore");
cmd.add(TestSimpleServer.class.getName());
Expand Down

0 comments on commit ddcaa59

Please sign in to comment.