lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject lucene-solr:master: Ignore flaky test
Date Thu, 15 Sep 2016 22:45:33 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master c79d44f82 -> f65c114e1


Ignore flaky test


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f65c114e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f65c114e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f65c114e

Branch: refs/heads/master
Commit: f65c114e1acca22b7517ab2742aaa189e95885fd
Parents: c79d44f
Author: Mike McCandless <mikemccand@apache.org>
Authored: Thu Sep 15 18:44:47 2016 -0400
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Thu Sep 15 18:45:08 2016 -0400

----------------------------------------------------------------------
 .../org/apache/lucene/index/TestExitableDirectoryReader.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f65c114e/lucene/core/src/test/org/apache/lucene/index/TestExitableDirectoryReader.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestExitableDirectoryReader.java
b/lucene/core/src/test/org/apache/lucene/index/TestExitableDirectoryReader.java
index 65cf84e..71406c8 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestExitableDirectoryReader.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestExitableDirectoryReader.java
@@ -16,6 +16,7 @@
  */
 package org.apache.lucene.index;
 
+import java.io.IOException;
 
 import org.apache.lucene.analysis.MockAnalyzer;
 import org.apache.lucene.document.Document;
@@ -27,8 +28,7 @@ import org.apache.lucene.search.Query;
 import org.apache.lucene.store.Directory;
 import org.apache.lucene.util.BytesRef;
 import org.apache.lucene.util.LuceneTestCase;
-
-import java.io.IOException;
+import org.junit.Ignore;
 
 /**
  * Test that uses a default/lucene Implementation of {@link QueryTimeout}
@@ -92,6 +92,7 @@ public class TestExitableDirectoryReader extends LuceneTestCase {
    * Tests timing out of TermsEnum iterations
    * @throws Exception on error
    */
+  @Ignore("this test relies on wall clock time and sometimes false fails")
   public void testExitableFilterIndexReader() throws Exception {
     Directory directory = newDirectory();
     IndexWriter writer = new IndexWriter(directory, newIndexWriterConfig(new MockAnalyzer(random())));


Mime
View raw message