Skip to content

Commit

Permalink
fix flake
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi Sharma committed Aug 21, 2020
1 parent b410db9 commit 13b2e21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/helper/helper_generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ func RunCmdWithMatchOutputFromBuffer(timeoutAfter time.Duration, matchString, pr
return false, err
}

defer command.Process.Kill()

// go routine which is reading data from buffer until expected string matched
go func() {
for {
Expand Down

0 comments on commit 13b2e21

Please sign in to comment.