mirror of https://github.com/apache/lucene.git
fix the missing tempDir in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922602 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
53c19d660a
commit
e5aada052c
|
@ -43,7 +43,7 @@
|
|||
<property name="dev.version" value="3.1-dev"/>
|
||||
<property name="version" value="${dev.version}"/>
|
||||
<property name="backwards.branch" value="lucene_3_0_back_compat_tests"/>
|
||||
<property name="backwards.rev" value="912395"/>
|
||||
<property name="backwards.rev" value="922601"/>
|
||||
<property name="spec.version" value="${version}"/>
|
||||
<property name="year" value="2000-${current.year}"/>
|
||||
<property name="final.name" value="lucene-${name}-${version}"/>
|
||||
|
|
|
@ -507,9 +507,7 @@ public class TestIndexReader extends LuceneTestCase
|
|||
// Make sure you can set norms & commit even if a reader
|
||||
// is open against the index:
|
||||
public void testWritingNorms() throws IOException {
|
||||
String tempDir = "target/test";
|
||||
|
||||
File indexDir = new File(tempDir, "lucenetestnormwriter");
|
||||
File indexDir = new File(System.getProperty("tempDir"), "lucenetestnormwriter");
|
||||
Directory dir = FSDirectory.open(indexDir);
|
||||
IndexWriter writer;
|
||||
IndexReader reader;
|
||||
|
|
|
@ -138,7 +138,7 @@ public class TestDirectory extends LuceneTestCase {
|
|||
|
||||
// LUCENE-1468
|
||||
public void testFSDirectoryFilter() throws IOException {
|
||||
checkDirectoryFilter(FSDirectory.open(new File("test")));
|
||||
checkDirectoryFilter(FSDirectory.open(new File(System.getProperty("tempDir"),"test")));
|
||||
}
|
||||
|
||||
// LUCENE-1468
|
||||
|
|
Loading…
Reference in New Issue