mirror of https://github.com/apache/lucene.git
github-12386: set java.io.tmpdir in replicator tests' forked processes (#12387)
This commit is contained in:
parent
fe0278e36e
commit
cb195bd96e
|
@ -104,6 +104,7 @@ public class TestNRTReplication extends LuceneTestCase {
|
|||
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());
|
||||
|
||||
|
|
|
@ -608,6 +608,7 @@ public class TestStressNRTReplication extends LuceneTestCase {
|
|||
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());
|
||||
|
|
Loading…
Reference in New Issue