We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7812c56 commit b00ef59Copy full SHA for b00ef59
ui/org.eclipse.pde.junit.runtime.tests/src/org/eclipse/pde/junit/runtime/tests/TestExecutionUtil.java
@@ -79,11 +79,14 @@ public void sessionFinished(ITestRunSession session) {
79
80
try {
81
launchAndWaitForTermination(launchConfiguration);
82
- ITestRunSession result = testResult.poll();
+ ITestRunSession result = testResult.poll(30, TimeUnit.SECONDS);
83
if (result == null) {
84
fail("test was not executed");
85
}
86
return result;
87
+ } catch (InterruptedException e) {
88
+ Thread.currentThread().interrupt();
89
+ throw new RuntimeException("test interrupted", e);
90
} finally {
91
JUnitCore.removeTestRunListener(testRunListener);
92
0 commit comments