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

tsato pushed a commit to branch release-1.8.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/release-1.8.x by this push:
     new 7315ec76f Backport: Fix CLI test - update file name path
7315ec76f is described below

commit 7315ec76f523b2d77affb7a3982a2137d5eb0cb4
Author: mmajerni <mmaje...@redhat.com>
AuthorDate: Tue Jul 12 12:08:00 2022 +0200

    Backport: Fix CLI test - update file name path
---
 e2e/common/cli/delete_test.go | 2 +-
 e2e/common/cli/run_test.go    | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/e2e/common/cli/delete_test.go b/e2e/common/cli/delete_test.go
index 04f1c0961..edd83c9e3 100644
--- a/e2e/common/cli/delete_test.go
+++ b/e2e/common/cli/delete_test.go
@@ -52,7 +52,7 @@ func TestKamelCLIDelete(t *testing.T) {
                })
 
                t.Run("delete integration from csv", func(t *testing.T) {
-                       Expect(Kamel("run", 
"github:apache/camel-k/e2e/common/files/yaml.yaml", "-n", 
ns).Execute()).To(Succeed())
+                       Expect(Kamel("run", 
"github:apache/camel-k/release-1.8.x/e2e/common/files/yaml.yaml", "-n", 
ns).Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "yaml"), 
TestTimeoutMedium).Should(Equal(corev1.PodRunning))
                        Expect(Kamel("delete", "yaml", "-n", 
ns).Execute()).To(Succeed())
                        Eventually(Integration(ns, "yaml")).Should(BeNil())
diff --git a/e2e/common/cli/run_test.go b/e2e/common/cli/run_test.go
index ecfa03df9..9d1784caf 100644
--- a/e2e/common/cli/run_test.go
+++ b/e2e/common/cli/run_test.go
@@ -40,7 +40,7 @@ func TestRunExamplesFromGitHub(t *testing.T) {
                Expect(Kamel("install", "-n", ns).Execute()).To(Succeed())
 
                t.Run("run java from GitHub", func(t *testing.T) {
-                       Expect(Kamel("run", "-n", ns, 
"github:apache/camel-k/e2e/common/files/Java.java").Execute()).To(Succeed())
+                       Expect(Kamel("run", "-n", ns, 
"github:apache/camel-k/release-1.8.x/e2e/common/files/Java.java").Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "java"), 
TestTimeoutMedium).Should(Equal(corev1.PodRunning))
                        Eventually(IntegrationConditionStatus(ns, "java", 
v1.IntegrationConditionReady), 
TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
                        Eventually(IntegrationLogs(ns, "java"), 
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
@@ -48,7 +48,7 @@ func TestRunExamplesFromGitHub(t *testing.T) {
                })
 
                t.Run("run java from GitHub (RAW)", func(t *testing.T) {
-                       Expect(Kamel("run", "-n", ns, 
"https://raw.githubusercontent.com/apache/camel-k/main/e2e/common/files/Java.java";).Execute()).To(Succeed())
+                       Expect(Kamel("run", "-n", ns, 
"https://raw.githubusercontent.com/apache/camel-k/release-1.8.x/e2e/common/files/Java.java";).Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "java"), 
TestTimeoutMedium).Should(Equal(corev1.PodRunning))
                        Eventually(IntegrationConditionStatus(ns, "java", 
v1.IntegrationConditionReady), 
TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
                        Eventually(IntegrationLogs(ns, "java"), 
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))

Reply via email to