Skip to content

Commit

Permalink
chore(e2e): Remove unnecessary jvm.option in test
Browse files Browse the repository at this point in the history
Ref #4841
  • Loading branch information
gansheer committed Apr 16, 2024
1 parent 2c7a869 commit 9a576de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/common/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 9a576de

Please sign in to comment.