diff --git a/e2e/common/traits/master_test.go b/e2e/common/traits/master_test.go index 23696a5001..08de2e2317 100644 --- a/e2e/common/traits/master_test.go +++ b/e2e/common/traits/master_test.go @@ -23,6 +23,7 @@ limitations under the License. package traits import ( + "os" "testing" "time" @@ -34,6 +35,18 @@ import ( ) func TestMasterTrait(t *testing.T) { + /* + * TODO + * The test just keeps randomly failing, either on kind or OCP4 clusters. + * The integration times out before spinning up or tests for the Magicstring + * fail. + * + * Adding CAMEL_K_TEST_SKIP_PROBLEMATIC env var for the moment. + */ + if os.Getenv("CAMEL_K_TEST_SKIP_PROBLEMATIC") == "true" { + t.Skip("WARNING: Test marked as problematic ... skipping") + } + WithNewTestNamespace(t, func(ns string) { Expect(Kamel("install", "-n", ns).Execute()).To(Succeed())