Skip to content

Commit bfa9b40

Browse files
authored
Merge pull request #3584 from rumpl/fix-tty-test
Sleep for 1.5 seconds before looking at the resize error
2 parents c76cbdc + 0c2d007 commit bfa9b40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/command/container/tty_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ func TestInitTtySizeErrors(t *testing.T) {
2525
ctx := context.Background()
2626
cli := test.NewFakeCli(&fakeClient{containerExecResizeFunc: fakeContainerExecResizeFunc})
2727
initTtySize(ctx, cli, "8mm8nn8tt8bb", true, fakeResizeTtyFunc)
28-
time.Sleep(750 * time.Millisecond)
28+
time.Sleep(1500 * time.Millisecond)
2929
assert.Check(t, is.Equal(expectedError, cli.ErrBuffer().String()))
3030
}

0 commit comments

Comments
 (0)