mirror of https://github.com/apache/lucene.git
LUCENE-5953: Fix null lock factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28b0bc6c32
commit
e8144f986b
|
@ -123,8 +123,8 @@ public class TestLockFactory extends LuceneTestCase {
|
||||||
// IndexWriters over & over in 2 threads and making sure
|
// IndexWriters over & over in 2 threads and making sure
|
||||||
// no unexpected exceptions are raised:
|
// no unexpected exceptions are raised:
|
||||||
@Nightly
|
@Nightly
|
||||||
public void testStressLocks() throws Exception {
|
public void testStressLocksSimpleFSLockFactory() throws Exception {
|
||||||
_testStressLocks(null, createTempDir("index.TestLockFactory6"));
|
_testStressLocks(SimpleFSLockFactory.INSTANCE, createTempDir("index.TestLockFactory6"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify: do stress test, by opening IndexReaders and
|
// Verify: do stress test, by opening IndexReaders and
|
||||||
|
|
Loading…
Reference in New Issue