You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/02/16 22:21:52 UTC
lucene-solr git commit: disable this test on Windows
Repository: lucene-solr
Updated Branches:
refs/heads/branch_5x 6b0672722 -> 56d426f81
disable this test on Windows
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/56d426f8
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/56d426f8
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/56d426f8
Branch: refs/heads/branch_5x
Commit: 56d426f814c090443b20e90f81969f5c060ca490
Parents: 6b06727
Author: Mike McCandless <mi...@apache.org>
Authored: Tue Feb 16 16:22:50 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Tue Feb 16 16:22:50 2016 -0500
----------------------------------------------------------------------
.../src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/56d426f8/lucene/test-framework/src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java b/lucene/test-framework/src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java
index 5d7cd33..320814a 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/store/BaseLockFactoryTestCase.java
@@ -155,6 +155,9 @@ public abstract class BaseLockFactoryTestCase extends LuceneTestCase {
// IndexWriters over & over in 2 threads and making sure
// no unexpected exceptions are raised:
public void testStressLocks() throws Exception {
+
+ assumeFalse("this test produces false failures on Windows when a segments_N file cannot be deleted by IW since it's still held open by IR", Constants.WINDOWS);
+
Directory dir = getDirectory(createTempDir());
// First create a 1 doc index: