aboutsummaryrefslogtreecommitdiffstats
path: root/vespa-osgi-testrunner
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-11-17 15:48:32 +0100
committerJon Marius Venstad <venstad@gmail.com>2021-11-17 15:48:32 +0100
commit7cddf841ac8774ecb1d359cac7e1c65059314733 (patch)
tree7ea8a9a8a2f0c80f799acd722b7b495f5da45eaa /vespa-osgi-testrunner
parenta2d325add6496dca8e7c396b722bf4e14bb65393 (diff)
Always read test report, and propagate correct status
Diffstat (limited to 'vespa-osgi-testrunner')
-rw-r--r--vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java b/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java
index d1acc4faf0f..d0f3b879fec 100644
--- a/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java
+++ b/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/JunitRunner.java
@@ -238,8 +238,7 @@ public class JunitRunner extends AbstractComponent implements TestRunner {
}
} catch (InterruptedException|ExecutionException e) {
logger.log(Level.WARNING, "Error while getting test report", e);
- // Return FAILURE to enforce getting the test report from the caller.
- return TestRunner.Status.FAILURE;
+ return TestRunner.Status.ERROR;
}
}