Skip to content

Commit

Permalink
added cmd.wait to cleanup when running the bare process
Browse files Browse the repository at this point in the history
  • Loading branch information
val06 committed Nov 28, 2024
1 parent 4441f12 commit eed8dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gpu/testutil/samplebins.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func runCommandAndPipeOutput(t *testing.T, command []string, args SampleArgs) (c
t.Cleanup(func() {
if cmd.Process != nil {
_ = cmd.Process.Kill()
_ = cmd.Wait()
}
})

Expand Down

0 comments on commit eed8dfc

Please sign in to comment.