Killing thread to workaround LiteXmlRpcTransport infinite loop bug

This commit is contained in:
Ilya.Kazakevich
2018-02-02 18:18:24 +03:00
parent 02aef8e8af
commit 47550347e4
@@ -120,6 +120,7 @@ public class PyConsoleTask extends PyExecutionFixtureTestTask {
if (rpc.isPresent()) {
final Thread thread = rpc.get();
// There is no way to interrupt this thread with "interrupt": it has infinite loop (bug) which does not check ".isInterrupted()"
//noinspection CallToThreadStopSuspendOrResumeManager
thread.stop();
thread.join();
}