mirror of https://github.com/apache/lucene.git
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:
parent
3ef76ae033
commit
26be4aa353
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue