summaryrefslogtreecommitdiffstats
path: root/controller-server
diff options
context:
space:
mode:
authorHarald Musum <musum@verizonmedia.com>2022-05-02 20:24:04 +0200
committerGitHub <noreply@github.com>2022-05-02 20:24:04 +0200
commit0289582a5d6ab048309c65cb5218bf57256e78e6 (patch)
tree8837f8a536c925938916a3fb791368f0187b1c15 /controller-server
parent3a757528a0a978d44cb1bd9aae28b567c477d139 (diff)
Revert "Remove another HTTP client wrapper"
Diffstat (limited to 'controller-server')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/application/pkg/TestPackage.java4
1 files changed, 1 insertions, 3 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 0c9ff7863bd..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
@@ -141,9 +141,7 @@ public class TestPackage {
try {
byte[] testsJar = ZipEntries.readFile(testPackage, "components/" + path, 1 << 30);
Manifest manifest = new JarInputStream(new ByteArrayInputStream(testsJar)).getManifest();
- String bundleCategoriesHeader = manifest.getMainAttributes().getValue("X-JDisc-Test-Bundle-Categories");
- if (bundleCategoriesHeader == null) continue;
- for (String suite : bundleCategoriesHeader.split(","))
+ for (String suite : manifest.getMainAttributes().getValue("X-JDisc-Test-Bundle-Categories").split(","))
if ( ! suite.isBlank()) switch (suite.trim()) {
case "SystemTest": suites.add(system); break;
case "StagingSetup": suites.add(staging_setup); break;