Improving logs to catch thread leak

This commit is contained in:
Ilya.Kazakevich
2016-06-17 18:10:52 +03:00
parent 32261b23c3
commit 87500300cb
@@ -109,8 +109,9 @@ public abstract class PyProcessWithConsoleTestTask<T extends ProcessWithConsoleR
public void processTerminated(final ProcessEvent event) {
super.processTerminated(event);
processHandlerRef.set(null);
LOG.warn(String.format("Releasing lock on thread %s", Thread.currentThread()));
processFinishedSemaphore.release();
LOG.info(String.format("Thread finished %s", Thread.currentThread()));
LOG.warn(String.format("Thread finished %s", Thread.currentThread()));
}
@Override