Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,14 @@ public void sessionFinished(ITestRunSession session) {

try {
launchAndWaitForTermination(launchConfiguration);
ITestRunSession result = testResult.poll();
ITestRunSession result = testResult.poll(30, TimeUnit.SECONDS);
if (result == null) {
fail("test was not executed");
}
return result;
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException("test interrupted", e);
} finally {
JUnitCore.removeTestRunListener(testRunListener);
}
Expand Down
Loading