don't swallow unexpected IOException in TestLockFactory

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@764734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2009-04-14 10:49:23 +00:00
parent 3ef76ae033
commit 26be4aa353
1 changed files with 2 additions and 0 deletions

View File

@ -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