diff --git a/e2e/run_test.go b/e2e/run_test.go index 6a2688e0ea..844e49a07f 100644 --- a/e2e/run_test.go +++ b/e2e/run_test.go @@ -82,6 +82,10 @@ func TestRunSimpleExamples(t *testing.T) { }) t.Run("run yaml", func(t *testing.T) { + if os.Getenv("KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY") == "Buildah" { + t.Skip("Apparently this test require too much CI resources with Buildah") + return + } RegisterTestingT(t) Expect(kamel("run", "-n", ns, "files/yaml.yaml").Execute()).Should(BeNil()) Eventually(integrationPodPhase(ns, "yaml"), testTimeoutMedium).Should(Equal(v1.PodRunning)) @@ -90,6 +94,10 @@ func TestRunSimpleExamples(t *testing.T) { }) t.Run("run yaml Quarkus", func(t *testing.T) { + if os.Getenv("KAMEL_INSTALL_BUILD_PUBLISH_STRATEGY") == "Buildah" { + t.Skip("Apparently this test require too much CI resources with Buildah") + return + } RegisterTestingT(t) Expect(kamel("run", "-n", ns, "--name", "yaml-quarkus", "files/yaml.yaml", "-t", "quarkus.enabled=true").Execute()).Should(BeNil()) Eventually(integrationPodPhase(ns, "yaml-quarkus"), testTimeoutMedium).Should(Equal(v1.PodRunning))