You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/04/24 00:56:04 UTC
svn commit: r1096251 - in /lucene/dev/branches/branch_3x/lucene/backwards:
./ src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
Author: rmuir
Date: Sat Apr 23 22:56:04 2011
New Revision: 1096251
URL: http://svn.apache.org/viewvc?rev=1096251&view=rev
Log:
use a tempdir that will get deleted as CWD, this way any core files or hserr.pids get deleted in afterclass()
Modified:
lucene/dev/branches/branch_3x/lucene/backwards/ (props changed)
lucene/dev/branches/branch_3x/lucene/backwards/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
Modified: lucene/dev/branches/branch_3x/lucene/backwards/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/backwards/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java?rev=1096251&r1=1096250&r2=1096251&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/backwards/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java (original)
+++ lucene/dev/branches/branch_3x/lucene/backwards/src/test/org/apache/lucene/index/TestIndexWriterOnJRECrash.java Sat Apr 23 22:56:04 2011
@@ -100,7 +100,7 @@ public class TestIndexWriterOnJRECrash e
cmd.add("org.junit.runner.JUnitCore");
cmd.add(getClass().getName());
ProcessBuilder pb = new ProcessBuilder(cmd);
- pb.directory(TEMP_DIR);
+ pb.directory(tempDir);
pb.redirectErrorStream(true);
Process p = pb.start();
InputStream is = p.getInputStream();