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 aa1bfbcb839fe467fe709bfcc43de8f46a6b9682
Author: Tadayoshi Sato <[email protected]>
AuthorDate: Tue Jul 26 19:13:10 2022 +0900

    chore(e2e): skip failing native build tests for OCP3
---
 e2e/global/builder/build_test.go    | 5 +++++
 e2e/namespace/native/native_test.go | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/e2e/global/builder/build_test.go b/e2e/global/builder/build_test.go
index 4e4abfb76..7a379ae2e 100644
--- a/e2e/global/builder/build_test.go
+++ b/e2e/global/builder/build_test.go
@@ -57,6 +57,11 @@ func TestKitKnativeFullBuild(t *testing.T) {
 }
 
 func TestKitTimerToLogFullNativeBuild(t *testing.T) {
+       if os.Getenv("CAMEL_K_CLUSTER_OCP3") == "true" {
+               t.Skip("INFO: Skipping test as known to never pass on OCP3")
+               return
+       }
+
        doKitFullBuild(t, "timer-to-log", "4Gi", "15m0s", TestTimeoutVeryLong, 
kitOptions{
                dependencies: []string{
                        "camel:timer", "camel:log",
diff --git a/e2e/namespace/native/native_test.go 
b/e2e/namespace/native/native_test.go
index c84e49704..f2b10692c 100644
--- a/e2e/namespace/native/native_test.go
+++ b/e2e/namespace/native/native_test.go
@@ -23,6 +23,7 @@ limitations under the License.
 package native
 
 import (
+       "os"
        "testing"
 
        . "github.com/onsi/gomega"
@@ -39,6 +40,11 @@ var (
 )
 
 func TestNativeIntegrations(t *testing.T) {
+       if os.Getenv("CAMEL_K_CLUSTER_OCP3") == "true" {
+               t.Skip("INFO: Skipping test as known to never pass on OCP3")
+               return
+       }
+
        WithNewTestNamespace(t, func(ns string) {
                operatorID := "camel-k-quarkus-native"
                Expect(KamelInstallWithID(operatorID, ns,

Reply via email to