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

astefanutti 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 f90934a  fix(e2e): Resolve kamel bind e2e test conflict
f90934a is described below

commit f90934a3dd6ee85277cd509e8d9bd216a230baa6
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Tue Oct 12 10:51:56 2021 +0200

    fix(e2e): Resolve kamel bind e2e test conflict
---
 e2e/service-binding/service_binding_kamelet_test.go | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/e2e/service-binding/service_binding_kamelet_test.go 
b/e2e/service-binding/service_binding_kamelet_test.go
index 073f3fd..9c70d78 100644
--- a/e2e/service-binding/service_binding_kamelet_test.go
+++ b/e2e/service-binding/service_binding_kamelet_test.go
@@ -35,7 +35,7 @@ import (
 
 func TestKameletServiceBindingTrait(t *testing.T) {
        WithNewTestNamespace(t, func(ns string) {
-               Expect(Kamel("install", "-n", ns, 
"--operator-image-pull-policy", "Always").Execute()).To(Succeed())
+               Expect(Kamel("install", "-n", ns).Execute()).To(Succeed())
 
                // Create our mock service config
                message := "hello"
@@ -60,10 +60,13 @@ func TestKameletServiceBindingTrait(t *testing.T) {
 
                Expect(CreateTimerKamelet(ns, "timer-source")()).To(Succeed())
 
-               Expect(Kamel("bind", "timer-source", "log:info", "--connect", 
serviceRef, "-n", ns).Execute()).To(Succeed())
+               Expect(Kamel("bind", "timer-source", "log:info",
+                       "-p", "source.message=Hello+world",
+                       "--connect", serviceRef, "-n", ns).
+                       Execute()).To(Succeed())
                Eventually(IntegrationPodPhase(ns, "timer-source-to-log"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
 
-               Eventually(IntegrationLogs(ns, 
"timer-source-to-log")).Should(ContainSubstring("Body: hello"))
+               Eventually(IntegrationLogs(ns, 
"timer-source-to-log")).Should(ContainSubstring("Body: Hello+world"))
 
                Expect(Kamel("delete", "--all", "-n", 
ns).Execute()).To(Succeed())
        })

Reply via email to