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

tsato 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 e4f8878c2 Fix CLI test - update file name path
e4f8878c2 is described below

commit e4f8878c2e0ac8aaef0edc1772b89b253de2e155
Author: mmajerni <mmaje...@redhat.com>
AuthorDate: Mon Jul 11 16:59:50 2022 +0200

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

diff --git a/e2e/namespace/install/cli/delete_test.go 
b/e2e/namespace/install/cli/delete_test.go
index ddee6b6c3..c057fab79 100644
--- a/e2e/namespace/install/cli/delete_test.go
+++ b/e2e/namespace/install/cli/delete_test.go
@@ -53,7 +53,7 @@ func TestKamelCLIDelete(t *testing.T) {
                })
 
                t.Run("delete integration from csv", func(t *testing.T) {
-                       Expect(KamelRunWithID(operatorID, ns, 
"github:apache/camel-k/e2e/common/files/yaml.yaml").Execute()).To(Succeed())
+                       Expect(KamelRunWithID(operatorID, ns, 
"github:apache/camel-k/e2e/namespace/install/cli/files/yaml.yaml").Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "yaml"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
                        Expect(Kamel("delete", "yaml", "-n", 
ns).Execute()).To(Succeed())
                        Eventually(Integration(ns, "yaml")).Should(BeNil())
diff --git a/e2e/namespace/install/cli/run_test.go 
b/e2e/namespace/install/cli/run_test.go
index e483e6751..a07212f44 100644
--- a/e2e/namespace/install/cli/run_test.go
+++ b/e2e/namespace/install/cli/run_test.go
@@ -42,7 +42,7 @@ func TestRunExamplesFromGitHub(t *testing.T) {
                Expect(KamelInstallWithID(operatorID, 
ns).Execute()).To(Succeed())
 
                t.Run("run java from GitHub", func(t *testing.T) {
-                       Expect(KamelRunWithID(operatorID, ns, 
"github:apache/camel-k/e2e/common/files/Java.java").Execute()).To(Succeed())
+                       Expect(KamelRunWithID(operatorID, ns, 
"github:apache/camel-k/e2e/namespace/install/files/Java.java").Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "java"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
                        Eventually(IntegrationConditionStatus(ns, "java", 
v1.IntegrationConditionReady), 
TestTimeoutShort).Should(Equal(corev1.ConditionTrue))
                        Eventually(IntegrationLogs(ns, "java"), 
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
@@ -50,7 +50,7 @@ func TestRunExamplesFromGitHub(t *testing.T) {
                })
 
                t.Run("run java from GitHub (RAW)", func(t *testing.T) {
-                       Expect(KamelRunWithID(operatorID, ns, 
"https://raw.githubusercontent.com/apache/camel-k/main/e2e/common/files/Java.java";).Execute()).To(Succeed())
+                       Expect(KamelRunWithID(operatorID, ns, 
"https://raw.githubusercontent.com/apache/camel-k/main/e2e/namespace/install/files/Java.java";).Execute()).To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "java"), 
TestTimeoutLong).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