Add temporary fix for flaky tests with "Thread leaked[Javac server ...]"

This commit is contained in:
Vitaliy.Bibaev
2017-10-08 15:31:03 +03:00
parent f03e203256
commit 6ad5ac62a9
@@ -70,6 +70,23 @@ public abstract class TraceExecutionTestCase extends DebuggerTestCase {
return new File(PluginPathManager.getPluginHomePath("stream-debugger") + "/testData/debug/").getAbsolutePath();
}
/**
*
* @throws Exception
*/
@Override
protected void tearDown() throws Exception {
try {
//noinspection SuperTearDownInFinally
super.tearDown();
}
catch (Throwable t) {
if (!t.getMessage().startsWith("Thread leaked: Thread[Javac server event loop")) {
throw t;
}
}
}
protected void doTest(boolean isResultNull) {
doTest(isResultNull, DEFAULT_CHAIN_SELECTOR);
}