mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Throw error if there was an timeout waiting for semaphore
This commit is contained in:
@@ -121,7 +121,7 @@ public abstract class PyProcessWithConsoleTestTask<T extends ProcessWithConsoleR
|
||||
}, ModalityState.NON_MODAL);
|
||||
|
||||
|
||||
processFinishedSemaphore.waitFor(60000);
|
||||
assert processFinishedSemaphore.waitFor(60000): "Timeout waiting semaphore";
|
||||
XDebuggerTestUtil.waitForSwing();
|
||||
if (failed.get()) {
|
||||
Assert.fail("Failed to run test, see logs for exceptions");
|
||||
|
||||
Reference in New Issue
Block a user