Skip to content

Commit 1055536

Browse files
authored
Merge pull request #5290 from laurazard/fix-flaxy-connhelper-test
Fix flaky `TestCloseRunningCommand` test
2 parents a69c036 + cc68c66 commit 1055536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/connhelper/commandconn/commandconn_unix_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestCloseRunningCommand(t *testing.T) {
4848
defer close(done)
4949

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

0 commit comments

Comments
 (0)