Skip to content

Commit 557ec94

Browse files
praveenkumaradrianriobo
authored andcommitted
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.
1 parent c21cdc3 commit 557ec94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/e2e/testsuite/testsuite.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,10 @@ func setOcEnv() error {
865865
}
866866

867867
func SetConfigPropertyToValueSucceedsOrFails(property string, value string, expected string) error {
868+
// Since network-mode is only supported on Linux, we skip this property test for non-linux platforms
869+
if property == "network-mode" && runtime.GOOS != "linux" {
870+
return nil
871+
}
868872
if value == "current bundle" {
869873
if !userProvidedBundle {
870874
value = filepath.Join(util.CRCHome, "cache", bundleName)

0 commit comments

Comments
 (0)