diff options
author | jonmv <venstad@gmail.com> | 2022-04-28 22:27:42 +0200 |
---|---|---|
committer | jonmv <venstad@gmail.com> | 2022-04-28 22:27:42 +0200 |
commit | fc6d898e311ae647d2d0b7a0ff5167de61539442 (patch) | |
tree | 278a65d5f9f60b6bd1410c848a90456fabe57c42 /controller-server | |
parent | cd04e0c3a06499971c82678e88510b257d4d6faa (diff) |
Handle no suites better
Diffstat (limited to 'controller-server')
-rw-r--r-- | controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java index fb352848911..751f6674128 100644 --- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java +++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java @@ -142,7 +142,7 @@ public class TestPackage { byte[] testsJar = ZipEntries.readFile(testPackage, "components/" + path, 1 << 30); Manifest manifest = new JarInputStream(new ByteArrayInputStream(testsJar)).getManifest(); for (String suite : manifest.getMainAttributes().getValue("X-JDisc-Test-Bundle-Categories").split(",")) - switch (suite.trim()) { + if ( ! suite.isBlank()) switch (suite.trim()) { case "SystemTest": suites.add(system); break; case "StagingSetup": suites.add(staging_setup); break; case "StagingTest": suites.add(staging); break; |