From 557ec94acb65317acda3d89a4d07ef1248c33581 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Tue, 22 Aug 2023 16:27:39 +0530 Subject: [PATCH] e2e test: Ignore network-mode config property for non linux platform Since network-mode is only supported on Linux for release bits of CRC, we skip this property test for non-linux platforms as part of e2e. --- test/e2e/testsuite/testsuite.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/testsuite/testsuite.go b/test/e2e/testsuite/testsuite.go index 9cd314c454..b7dbe40c02 100644 --- a/test/e2e/testsuite/testsuite.go +++ b/test/e2e/testsuite/testsuite.go @@ -865,6 +865,10 @@ func setOcEnv() error { } func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error { + // Since network-mode is only supported on Linux, we skip this property test for non-linux platforms + if property == "network-mode" && runtime.GOOS != "linux" { + return nil + } if value == "current bundle" { if !userProvidedBundle { value = filepath.Join(util.CRCHome, "cache", bundleName)