Skip to content

Commit

Permalink
e2e test: Ignore network-mode config property for non linux platform
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
praveenkumar authored and adrianriobo committed Aug 24, 2023
1 parent c21cdc3 commit 557ec94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 557ec94

Please sign in to comment.