lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r764734 - /lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java
Date Tue, 14 Apr 2009 10:49:23 GMT
Author: mikemccand
Date: Tue Apr 14 10:49:23 2009
New Revision: 764734

URL: http://svn.apache.org/viewvc?rev=764734&view=rev
Log:
don't swallow unexpected IOException in TestLockFactory

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java?rev=764734&r1=764733&r2=764734&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/store/TestLockFactory.java Tue Apr 14 10:49:23
2009
@@ -433,6 +433,8 @@
                 } 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



Mime
View raw message