Skip to content

Commit

Permalink
Merge pull request #5290 from laurazard/fix-flaxy-connhelper-test
Browse files Browse the repository at this point in the history
Fix flaky `TestCloseRunningCommand` test
  • Loading branch information
laurazard authored Jul 24, 2024
2 parents a69c036 + cc68c66 commit 1055536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/connhelper/commandconn/commandconn_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestCloseRunningCommand(t *testing.T) {
defer close(done)

go func() {
c, err := New(ctx, "sh", "-c", "while true; sleep 1; done")
c, err := New(ctx, "sh", "-c", "while true; do sleep 1; done")
assert.NilError(t, err)
cmdConn := c.(*commandConn)
assert.Check(t, process.Alive(cmdConn.cmd.Process.Pid))
Expand Down

0 comments on commit 1055536

Please sign in to comment.