This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 5e551aa90 fix(e2e): Fix TestCamelTrait
5e551aa90 is described below

commit 5e551aa9038bb5f650458bbf6a31902e58e72dc2
Author: Gaelle Fournier <gaelle.fournier.w...@gmail.com>
AuthorDate: Tue Oct 24 17:11:22 2023 +0200

    fix(e2e): Fix TestCamelTrait
---
 e2e/common/traits/camel_test.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/e2e/common/traits/camel_test.go b/e2e/common/traits/camel_test.go
index aa41d69f9..ff3d19057 100644
--- a/e2e/common/traits/camel_test.go
+++ b/e2e/common/traits/camel_test.go
@@ -37,7 +37,7 @@ func TestCamelTrait(t *testing.T) {
        RegisterTestingT(t)
 
        t.Run("properties changes should not rebuild", func(t *testing.T) {
-               name := "java"
+               name := "javapropertiesnorebuild"
                Expect(KamelRunWithID(operatorID, ns, "files/Java.java",
                        "--name", name,
                ).Execute()).To(Succeed())
@@ -54,6 +54,9 @@ func TestCamelTrait(t *testing.T) {
                Eventually(IntegrationConditionStatus(ns, name, 
v1.IntegrationConditionReady), 
TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
                Eventually(IntegrationLogs(ns, name), 
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
                Eventually(IntegrationKit(ns, 
name)).Should(Equal(integrationKit))
+
+               Expect(Kamel("delete", name, "-n", ns).Execute()).To(Succeed())
+               Eventually(Integration(ns, name), 
TestTimeoutLong).Should(BeNil())
        })
 
        // Clean-up

Reply via email to