lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dor...@apache.org
Subject svn commit: r518753 - /lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java
Date Thu, 15 Mar 2007 21:08:55 GMT
Author: doronc
Date: Thu Mar 15 14:08:54 2007
New Revision: 518753

URL: http://svn.apache.org/viewvc?view=rev&rev=518753
Log:
TestWindowsMmap now creates the index $(system.tempDir)/testLuceneMmap.

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java?view=diff&rev=518753&r1=518752&r2=518753
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/store/TestWindowsMMap.java Thu Mar 15 14:08:54
2007
@@ -43,7 +43,8 @@
 		return fb.toString();
 	}
 	
-	private final static String storePathname = "testLuceneMmap";
+	private final static String storePathname = 
+    new File(System.getProperty("tempDir"),"testLuceneMmap").getAbsolutePath();
 
 	public void testMmapIndex() throws Exception {
 		FSDirectory storeDirectory;



Mime
View raw message