This is an automated email from the ASF dual-hosted git repository.
gfournier pushed a commit to branch release-2.3.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/release-2.3.x by this push:
new aae40400f chore(e2e): Remove unnecessary jvm.option in test
aae40400f is described below
commit aae40400f670428bdbca7ed0a9a07fc8cb53a439
Author: Gaelle Fournier <[email protected]>
AuthorDate: Mon Apr 15 15:09:10 2024 +0200
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 58a3578a9..4029285f1 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"))