Skip to content

Commit

Permalink
[QE] fix linux e2e failure of podman, issue 4424
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu authored and praveenkumar committed Nov 19, 2024
1 parent 6d3be5a commit 7664059
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,14 @@ func InitializeScenario(s *godog.ScenarioContext) {
fmt.Println(err)
os.Exit(1)
}

if runtime.GOOS == "linux" {
err = crcCmd.UnsetConfigPropertySucceedsOrFails("network-mode", "succeeds") // unsetting property that is not set gives 0 exitcode, so this works
if err != nil {
fmt.Println(err)
os.Exit(1)
}
}
}

if tag.Name == "@proxy" {
Expand Down

0 comments on commit 7664059

Please sign in to comment.