Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-2053: temporarily remove buggy test assertion

Michael McCandlessf7e9ad7d6e6b
diff --git a/src/test/org/apache/lucene/index/TestIndexWriter.java b/src/test/org/apache/lucene/index/TestIndexWriter.java
index ec4532763e1..80fca5a57ed 100644
--- a/src/test/org/apache/lucene/index/TestIndexWriter.java
+++ b/src/test/org/apache/lucene/index/TestIndexWriter.java
@@ -4390,7 +4390,8 @@ public class TestIndexWriter extends LuceneTestCase {
assertTrue(e instanceof InterruptedException);
// Make sure IW cleared the interrupted bit
- if (interrupted()) {
+ // TODO: remove that false once test is fixed for real
+ if (false && interrupted()) {
System.out.println("FAILED; InterruptedException hit but thread.interrupted() was true");
e.printStackTrace(System.out);
failed = true;