Apache Solr open-source search software
Uses JUnit Task defined tempDir instead of system temp.
Grant Ingersoll9b2405c0cc4b
diff --git a/src/test/org/apache/lucene/index/TestFieldsReader.java b/src/test/org/apache/lucene/index/TestFieldsReader.javaindex 7bba89bda5c..bc37c185901 100644--- a/src/test/org/apache/lucene/index/TestFieldsReader.java+++ b/src/test/org/apache/lucene/index/TestFieldsReader.java@@ -163,7 +163,7 @@ public class TestFieldsReader extends TestCase {* @throws Exception*/public void testLazyPerformance() throws Exception {- String tmpIODir = System.getProperty("java.io.tmpdir");+ String tmpIODir = System.getProperty("tempDir");String userName = System.getProperty("user.name");String path = tmpIODir + File.separator + "lazyDir" + userName;File file = new File(path);