mirror of https://github.com/apache/lucene.git
LUCENE-2819: set this before interuppting also, to prevent false fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1050718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
50fe69c091
commit
fb7f94b419
|
@ -543,6 +543,7 @@ public abstract class LuceneTestCase extends Assert {
|
|||
} catch (InterruptedException e) { e.printStackTrace(); }
|
||||
// try to stop the thread:
|
||||
t.setUncaughtExceptionHandler(null);
|
||||
Thread.setDefaultUncaughtExceptionHandler(null);
|
||||
t.interrupt();
|
||||
try {
|
||||
t.join(THREAD_STOP_GRACE_MSEC);
|
||||
|
|
Loading…
Reference in New Issue