From f6f8626f4d661cbcaab0d960c891e9a63f2e4187 Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 4 Dec 2023 14:07:38 +0100 Subject: [PATCH] Fix OpenshiftWithS2iTest JAVA_OPTS are not automatically added anymore. But TBH, I wonder if it's the right move to not have these JAVA_OPTS as we need to set the logger anyway. --- .../java/io/quarkus/it/kubernetes/OpenshiftWithS2iTest.java | 5 ----- 1 file changed, 5 deletions(-) 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 136f04936feb5..d3049dc5063de 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 @@ -86,11 +86,6 @@ public void assertGeneratedResources() throws IOException { assertThat(envVar.getName()).isEqualTo("JAVA_APP_JAR"); //assertThat(envVar.getValue()).isEqualTo("/deployments/quarkus-run.jar"); // this is flaky }); - assertThat(envVars).anySatisfy(envVar -> { - assertThat(envVar.getName()).isEqualTo("JAVA_OPTIONS"); - assertThat(envVar.getValue()) - .contains("-Djava.util.logging.manager=org.jboss.logmanager.LogManager"); - }); }); });