Skip to content

Commit

Permalink
Fix problem when odo deploy processes do not terminate (#6716)
Browse files Browse the repository at this point in the history
  • Loading branch information
feloy authored Apr 5, 2023
1 parent cc2e8de commit 7aa3369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/helper/helper_cmd_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func (cw *CmdWrapper) ShouldRun() *CmdWrapper {
func (cw *CmdWrapper) Should(f func(session *gexec.Session)) {
cw.Runner()
f(cw.session)
cw.session.Wait()
}

func (cw *CmdWrapper) WithTerminate(timeoutAfter time.Duration, stop chan bool) *CmdWrapper {
Expand Down

0 comments on commit 7aa3369

Please sign in to comment.