You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/10/07 03:48:07 UTC

[camel-k] 05/13: (e2e): Mark KameletClasspathLoading test as temporarily problematic

This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f9637d67544820471efe77e5271cbddc018bf7a8
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Thu Sep 22 13:37:21 2022 +0100

    (e2e): Mark KameletClasspathLoading test as temporarily problematic
    
    * See issue #3667 for details
    
    * Can re-enable once solution has been concluded
---
 e2e/global/common/kamelet_test.go | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/e2e/global/common/kamelet_test.go b/e2e/global/common/kamelet_test.go
index 5c4242fd3..e6b8834fb 100644
--- a/e2e/global/common/kamelet_test.go
+++ b/e2e/global/common/kamelet_test.go
@@ -23,6 +23,7 @@ limitations under the License.
 package common
 
 import (
+	"os"
 	"testing"
 
 	. "github.com/onsi/gomega"
@@ -31,7 +32,15 @@ import (
 	. "github.com/apache/camel-k/e2e/support"
 )
 
+/*
+ * This seems to be problematic in a global context
+ * See https://github.com/apache/camel-k/issues/3667 for details
+ */
 func TestKameletClasspathLoading(t *testing.T) {
+	if os.Getenv("CAMEL_K_TEST_SKIP_PROBLEMATIC") == "true" {
+		t.Skip("WARNING: Test marked as problematic ... skipping")
+	}
+
 	WithNewTestNamespace(t, func(ns string) {
 		operatorID := "camel-k-kamelet"
 		Expect(KamelInstallWithID(operatorID, ns).Execute()).To(Succeed())