Skip to content

Commit

Permalink
Marking MasterTrait test as problematic
Browse files Browse the repository at this point in the history
  • Loading branch information
phantomjinx authored and astefanutti committed Jan 31, 2022
1 parent a8925f1 commit 333f1a3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions e2e/common/traits/master_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ limitations under the License.
package traits

import (
"os"
"testing"
"time"

Expand All @@ -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())

Expand Down

0 comments on commit 333f1a3

Please sign in to comment.