diff --git a/src/test/java/io/cryostat/platform/internal/KubeApiPlatformClientTest.java b/src/test/java/io/cryostat/platform/internal/KubeApiPlatformClientTest.java index 545cc77679..da3fea2c56 100644 --- a/src/test/java/io/cryostat/platform/internal/KubeApiPlatformClientTest.java +++ b/src/test/java/io/cryostat/platform/internal/KubeApiPlatformClientTest.java @@ -846,6 +846,7 @@ class WithNonDefaultPortNameAndNumber { void setup() throws Exception { platformClient = new KubeApiPlatformClient( + env, List.of(NAMESPACE), Set.of("cryostat-jmx", "cryostat-jfr"), Set.of(9999, 4545), @@ -1118,7 +1119,7 @@ class WithEmptyPortNameAndNumber { void setup() throws Exception { platformClient = new KubeApiPlatformClient( - List.of(NAMESPACE), Set.of(), Set.of(), k8sClient, logger); + env, List.of(NAMESPACE), Set.of(), Set.of(), k8sClient, logger); } @Test