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 7, 2024
1 parent d9f83bc commit 8099c13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/features/story_openshift.feature
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ Feature: 4 Openshift stories
When executing "oc apply -f tekton-task.yaml" succeeds
Then with up to "60" retries with wait period of "5s" command "oc get taskruns" output matches "echo-task-run(.*)Succeeded.*"
When executing "oc logs --selector=tekton.dev/taskRun=echo-task-run" succeeds
Then stdout should contain "Hello World"
Then stdout should contain "Hello World"
6 changes: 6 additions & 0 deletions test/e2e/testsuite/testsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@ func InitializeScenario(s *godog.ScenarioContext) {
fmt.Println(err)
os.Exit(1)
}

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 8099c13

Please sign in to comment.