You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/31 08:58:51 UTC
[camel-k] 40/40: Marking MasterTrait test as problematic
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 333f1a39d9471322157e8b0314e9f651aeed7e0d
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Thu Jan 27 10:44:32 2022 +0000
Marking MasterTrait test as problematic
---
e2e/common/traits/master_test.go | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/e2e/common/traits/master_test.go b/e2e/common/traits/master_test.go
index 23696a5..08de2e2 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())