Skip to content

Commit

Permalink
Wait after killing odo during integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy committed May 15, 2023
1 parent 0cdc2e5 commit 68d8ee5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/cmd_dev_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ echo "$@"
},
})
Expect(err).ShouldNot(HaveOccurred())
defer devSession.Kill()
defer () {
devSession.Kill()
devSession.WaitEnd()
}()

Expect(string(stderrBytes)).Should(MatchRegexp("timeout \\([^()]+\\) while waiting for Podman version"))
})
Expand Down

0 comments on commit 68d8ee5

Please sign in to comment.