summaryrefslogtreecommitdiffstats
path: root/vespa-osgi-testrunner
diff options
context:
space:
mode:
authorjonmv <venstad@gmail.com>2022-06-07 08:25:28 +0200
committerjonmv <venstad@gmail.com>2022-06-07 08:25:28 +0200
commit5d84fef07d41c09f569c650fad30cb4157270c66 (patch)
treec6c10de16257737bb337e44115d999b38af26588 /vespa-osgi-testrunner
parentb610a317d9fd1e1dcad6bc639efb9e22dd4cbf26 (diff)
Make the sample test report a production test, for inconclusive result
Diffstat (limited to 'vespa-osgi-testrunner')
-rw-r--r--vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/testrunner/AggregateTestRunnerTest.java2
-rw-r--r--vespa-osgi-testrunner/src/test/resources/report.json10
2 files changed, 6 insertions, 6 deletions
diff --git a/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/testrunner/AggregateTestRunnerTest.java b/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/testrunner/AggregateTestRunnerTest.java
index 2245f8db68e..52a96521dc1 100644
--- a/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/testrunner/AggregateTestRunnerTest.java
+++ b/vespa-osgi-testrunner/src/test/java/com/yahoo/vespa/testrunner/AggregateTestRunnerTest.java
@@ -36,7 +36,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
*/
class AggregateTestRunnerTest {
- static final TestReport report = JunitRunnerTest.test(Suite.SYSTEM_TEST, new byte[0], SampleTest.class).getReport();
+ static final TestReport report = JunitRunnerTest.test(Suite.PRODUCTION_TEST, new byte[0], SampleTest.class).getReport();
@Test
void onlySupportedRunnersAreUsed() {
diff --git a/vespa-osgi-testrunner/src/test/resources/report.json b/vespa-osgi-testrunner/src/test/resources/report.json
index 578ece9cc39..0d2e70a6c4d 100644
--- a/vespa-osgi-testrunner/src/test/resources/report.json
+++ b/vespa-osgi-testrunner/src/test/resources/report.json
@@ -1,7 +1,7 @@
{
"report": {
"type": "container",
- "name": "System test",
+ "name": "Production test",
"status": "error",
"start": 0,
"end": 0,
@@ -102,7 +102,7 @@
{
"type": "test",
"name": "inconclusive(org.junit.jupiter.api.TestReporter)",
- "status": "error",
+ "status": "inconclusive",
"start": 0,
"end": 0,
"children": [
@@ -123,7 +123,7 @@
},
{
"type": "failure",
- "status": "error",
+ "status": "inconclusive",
"trace": "ai.vespa.hosted.cd.InconclusiveTestException: the cat is both dead _and_ alive\n\tat com.yahoo.vespa.test.samples.SampleTest.inconclusive(SampleTest.java:93)\n"
}
]
@@ -267,10 +267,10 @@
},
"summary": {
"success": 3,
- "failed": 4,
+ "failed": 3,
"ignored": 2,
"aborted": 1,
- "inconclusive": 0,
+ "inconclusive": 1,
"failures": [
{
"testName": "error()",