diff --git a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithDockerBuildStrategyTest.java b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithDockerBuildStrategyTest.java index 18f2f20a3c1d5..12bfe0f7cc749 100644 --- a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithDockerBuildStrategyTest.java +++ b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithDockerBuildStrategyTest.java @@ -49,7 +49,7 @@ public void assertGeneratedResources() throws IOException { assertThat(c.getCommand()).isNullOrEmpty(); assertThat(c.getArgs()).isNullOrEmpty(); //We explicitly remove them when using the `docker build strategy`. - assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR", "JAVA_LIB_DIR"); + assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR"); }); }); }); diff --git a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithLegacySidecarAndS2iTest.java b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithLegacySidecarAndS2iTest.java index 9cc7c0826343e..317e3e9a0c4b2 100644 --- a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithLegacySidecarAndS2iTest.java +++ b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithLegacySidecarAndS2iTest.java @@ -64,7 +64,7 @@ public void assertGeneratedResources() throws IOException { private void assertApplicationContainer(PodSpec podSpec) { assertThat(podSpec.getContainers()).filteredOn(ps -> "openshift-sidecar-test".equals(ps.getName())) .singleElement().satisfies(c -> { - assertThat(c.getEnv()).extracting("name").contains("JAVA_APP_JAR", "JAVA_LIB_DIR"); + assertThat(c.getEnv()).extracting("name").contains("JAVA_APP_JAR"); }); } @@ -83,7 +83,7 @@ private void assertSidecar(PodSpec podSpec) { assertThat(c.getPorts()).singleElement().satisfies(p -> { assertThat(p.getContainerPort()).isEqualTo(3000); }); - assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR", "JAVA_LIB_DIR"); + assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR"); }); } } diff --git a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithS2iTest.java b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithS2iTest.java index 2a848131d38ad..d37a7266220a5 100644 --- a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithS2iTest.java +++ b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithS2iTest.java @@ -76,14 +76,6 @@ public void assertGeneratedResources() throws IOException { assertThat(envVar.getName()).isEqualTo("JAVA_APP_JAR"); assertThat(envVar.getValue()).isEqualTo("/deployments/quarkus-run.jar"); }); - assertThat(envVars).anySatisfy(envVar -> { - assertThat(envVar.getName()).isEqualTo("JAVA_LIB_DIR"); - assertThat(envVar.getValue()).isEqualTo("/deployments/lib"); - }); - assertThat(envVars).anySatisfy(envVar -> { - assertThat(envVar.getName()).isEqualTo("JAVA_CLASSPATH"); - assertThat(envVar.getValue()).isNotBlank(); - }); assertThat(envVars).anySatisfy(envVar -> { assertThat(envVar.getName()).isEqualTo("JAVA_OPTIONS"); assertThat(envVar.getValue()) diff --git a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithSidecarAndS2iTest.java b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithSidecarAndS2iTest.java index f49f81d29b751..5ce3f86a598cb 100644 --- a/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithSidecarAndS2iTest.java +++ b/integration-tests/kubernetes/quarkus-standard-way/src/test/java/io/quarkus/it/kubernetes/OpenshiftWithSidecarAndS2iTest.java @@ -64,7 +64,7 @@ public void assertGeneratedResources() throws IOException { private void assertApplicationContainer(PodSpec podSpec) { assertThat(podSpec.getContainers()).filteredOn(ps -> "openshift-sidecar-test".equals(ps.getName())) .singleElement().satisfies(c -> { - assertThat(c.getEnv()).extracting("name").contains("JAVA_APP_JAR", "JAVA_LIB_DIR"); + assertThat(c.getEnv()).extracting("name").contains("JAVA_APP_JAR"); }); } @@ -83,7 +83,7 @@ private void assertSidecar(PodSpec podSpec) { assertThat(c.getPorts()).singleElement().satisfies(p -> { assertThat(p.getContainerPort()).isEqualTo(3000); }); - assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR", "JAVA_LIB_DIR"); + assertThat(c.getEnv()).extracting("name").doesNotContain("JAVA_APP_JAR"); }); } }