Skip to content

Commit 7664059

Browse files
lilyLuLiupraveenkumar
authored andcommitted
[QE] fix linux e2e failure of podman, issue 4424
1 parent 6d3be5a commit 7664059

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/e2e/testsuite/testsuite.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,14 @@ func InitializeScenario(s *godog.ScenarioContext) {
299299
fmt.Println(err)
300300
os.Exit(1)
301301
}
302+
303+
if runtime.GOOS == "linux" {
304+
err = crcCmd.UnsetConfigPropertySucceedsOrFails("network-mode", "succeeds") // unsetting property that is not set gives 0 exitcode, so this works
305+
if err != nil {
306+
fmt.Println(err)
307+
os.Exit(1)
308+
}
309+
}
302310
}
303311

304312
if tag.Name == "@proxy" {

0 commit comments

Comments
 (0)