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

commit 4bd9833c0cf2b8ac35028ebdd9dcc981ca367629
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Mon Feb 27 11:44:50 2023 +0100

    fix: github raw example
---
 e2e/common/cli/run_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/common/cli/run_test.go b/e2e/common/cli/run_test.go
index 280e3430a..ba5fe7c53 100644
--- a/e2e/common/cli/run_test.go
+++ b/e2e/common/cli/run_test.go
@@ -54,7 +54,7 @@ func TestKamelCLIRun(t *testing.T) {
 
                t.Run("Java (RAW)", func(t *testing.T) {
                        Expect(KamelRunWithID(operatorID, ns,
-                               
"https://raw.githubusercontent.com/apache/camel-k-examples/blob/main/generic-examples/languages/Sample.java";).Execute()).
+                               
"https://raw.githubusercontent.com/apache/camel-k-examples/main/generic-examples/languages/Sample.java";).Execute()).
                                To(Succeed())
                        Eventually(IntegrationPodPhase(ns, "sample"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
                        Eventually(IntegrationConditionStatus(ns, "sample", 
v1.IntegrationConditionReady), TestTimeoutShort).
@@ -169,7 +169,7 @@ func TestKamelCLIRun(t *testing.T) {
                }
                Expect(KamelRunWithID(operatorID, ns, 
"../traits/files/jvm/Classpath.java",
                        "-d", sampleJar,
-                       "-d", 
"https://raw.githubusercontent.com/apache/camel-k-examples/blob/main/generic-examples/languages/Sample.java|targetPath=/tmp/foo",
+                       "-d", 
"https://raw.githubusercontent.com/apache/camel-k-examples/main/generic-examples/languages/Sample.java|targetPath=/tmp/foo",
                ).Execute()).To(Succeed())
                Eventually(IntegrationPodPhase(ns, "classpath"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
                Eventually(IntegrationConditionStatus(ns, "classpath", 
v1.IntegrationConditionReady), 
TestTimeoutShort).Should(Equal(corev1.ConditionTrue))

Reply via email to