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
This commit is contained in:
Grant Ingersoll 2006-12-16 20:38:44 +00:00
parent a4e0edd530
commit 9b2405c0cc
1 changed files with 1 additions and 1 deletions

View File

@ -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);