Marking MasterTrait test as problematic
@@ -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())
