From 9a576ded837f22c24d27124a16b307455159ac35 Mon Sep 17 00:00:00 2001 From: Gaelle Fournier Date: Mon, 15 Apr 2024 15:09:10 +0200 Subject: [PATCH] chore(e2e): Remove unnecessary jvm.option in test Ref apache#4841 --- e2e/common/config/config_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e/common/config/config_test.go b/e2e/common/config/config_test.go index 58a3578a96..4029285f10 100644 --- a/e2e/common/config/config_test.go +++ b/e2e/common/config/config_test.go @@ -127,8 +127,7 @@ func TestRunConfigExamples(t *testing.T) { err := CreatePlainTextSecret(t, ctx, ns, "my-sec-inlined", secData) g.Expect(err).To(BeNil()) - // TODO: remove jvm.options trait as soon as CAMEL-20054 gets fixed - g.Expect(KamelRunWithID(t, ctx, operatorID, ns, "./files/property-secret-route.groovy", "-t", "mount.configs=secret:my-sec-inlined", "-t", "jvm.options=-Dcamel.k.mount-path.secrets=/etc/camel/conf.d/_secrets").Execute()).To(Succeed()) + g.Expect(KamelRunWithID(t, ctx, operatorID, ns, "./files/property-secret-route.groovy", "-t", "mount.configs=secret:my-sec-inlined").Execute()).To(Succeed()) g.Eventually(IntegrationPodPhase(t, ctx, ns, "property-secret-route"), TestTimeoutLong).Should(Equal(corev1.PodRunning)) g.Eventually(IntegrationConditionStatus(t, ctx, ns, "property-secret-route", v1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(corev1.ConditionTrue)) g.Eventually(IntegrationLogs(t, ctx, ns, "property-secret-route"), TestTimeoutShort).Should(ContainSubstring("my-secret-external-value"))