Skip to content

Commit

Permalink
Fix apache#1333: skip some tests with Buildah
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed Mar 19, 2020
1 parent 4e0b8df commit 9d48986
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions e2e/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))
Expand Down

0 comments on commit 9d48986

Please sign in to comment.