Apache Lucene open-source search software
don't swallow unexpected IOException in TestLockFactory
Michael McCandless26be4aa35372
diff --git a/src/test/org/apache/lucene/store/TestLockFactory.java b/src/test/org/apache/lucene/store/TestLockFactory.javaindex cb250f9d3b5..42a430ae922 100755--- a/src/test/org/apache/lucene/store/TestLockFactory.java+++ b/src/test/org/apache/lucene/store/TestLockFactory.java@@ -433,6 +433,8 @@ public class TestLockFactory extends LuceneTestCase {} catch (IOException e) {if (e.toString().indexOf(" timed out:") == -1) {hitException = true;+ System.out.println("Stress Test Index Writer: creation hit unexpected IOException: " + e.toString());+ e.printStackTrace(System.out);} else {// lock obtain timed out// NOTE: we should at some point