You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2014/11/09 18:38:55 UTC

svn commit: r1637701 - /lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java

Author: uschindler
Date: Sun Nov  9 17:38:55 2014
New Revision: 1637701

URL: http://svn.apache.org/r1637701
Log:
LUCENE-5953: Fix null lock factory

Modified:
    lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java

Modified: lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java?rev=1637701&r1=1637700&r2=1637701&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java (original)
+++ lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/store/TestLockFactory.java Sun Nov  9 17:38:55 2014
@@ -123,8 +123,8 @@ public class TestLockFactory extends Luc
     // IndexWriters over & over in 2 threads and making sure
     // no unexpected exceptions are raised:
     @Nightly
-    public void testStressLocks() throws Exception {
-      _testStressLocks(null, createTempDir("index.TestLockFactory6"));
+    public void testStressLocksSimpleFSLockFactory() throws Exception {
+      _testStressLocks(SimpleFSLockFactory.INSTANCE, createTempDir("index.TestLockFactory6"));
     }
 
     // Verify: do stress test, by opening IndexReaders and