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 committed Nov 18, 2024
1 parent 79da175 commit 8fdefe8
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 8fdefe8

Please sign in to comment.