You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by us...@apache.org on 2009/09/04 00:12:41 UTC

svn commit: r811155 - /lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java

Author: uschindler
Date: Thu Sep  3 22:12:40 2009
New Revision: 811155

URL: http://svn.apache.org/viewvc?rev=811155&view=rev
Log:
LUCENE-1877: disable test that checks lock prefix != "" where indexdir == lockdir

Modified:
    lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java?rev=811155&r1=811154&r2=811155&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java (original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/store/TestLockFactory.java Thu Sep  3 22:12:40 2009
@@ -389,6 +389,8 @@
 
     // Verify: NativeFSLockFactory assigns different lock
     // prefixes to different directories:
+    /*
+    Test does not work with Lucene 2.9 - disabled
     public void testNativeFSLockFactoryPrefix() throws IOException {
 
       // Make sure we get identical instances:
@@ -403,6 +405,7 @@
       rmDir("TestLockFactory.8");
       rmDir("TestLockFactory.9");
     }
+    */
 
     // Verify: default LockFactory has no prefix (ie
     // write.lock is stored in index):