From 9b2405c0cc4b447a8994977134b282829486cb47 Mon Sep 17 00:00:00 2001 From: Grant Ingersoll Date: Sat, 16 Dec 2006 20:38:44 +0000 Subject: [PATCH] Uses JUnit Task defined tempDir instead of system temp. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487878 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/index/TestFieldsReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/org/apache/lucene/index/TestFieldsReader.java b/src/test/org/apache/lucene/index/TestFieldsReader.java index 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);