lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r780788 - /lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java
Date Mon, 01 Jun 2009 19:10:27 GMT
Author: uschindler
Date: Mon Jun  1 19:10:27 2009
New Revision: 780788

URL: http://svn.apache.org/viewvc?rev=780788&view=rev
Log:
LUCENE-1658: This update is needed, as the new FSDir impl will return SimpleFSDir per default.
Parts of this test are automatically disabled (wrong instance), but cleanup does not work,
so cfs file cannot be deleted before next test on windows -> failure.
I do not create a new tag now, this fix is not so important, the next time someone creates
a new backwards-tag is created is enough.

Modified:
    lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java?rev=780788&r1=780787&r2=780788&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestCompoundFile.java
Mon Jun  1 19:10:27 2009
@@ -415,6 +415,8 @@
           expected.seek(0);
           two.seek(0);
           //assertSameStreams("basic clone two/4", expected, two);
+        } else {
+          cr.close();
         }
 
         expected.close();



Mime
View raw message