diff --git a/cli/command/container/tty_test.go b/cli/command/container/tty_test.go index 70552c9152..dc5a5a46de 100644 --- a/cli/command/container/tty_test.go +++ b/cli/command/container/tty_test.go @@ -25,6 +25,6 @@ func TestInitTtySizeErrors(t *testing.T) { ctx := context.Background() cli := test.NewFakeCli(&fakeClient{containerExecResizeFunc: fakeContainerExecResizeFunc}) initTtySize(ctx, cli, "8mm8nn8tt8bb", true, fakeResizeTtyFunc) - time.Sleep(750 * time.Millisecond) + time.Sleep(1500 * time.Millisecond) assert.Check(t, is.Equal(expectedError, cli.ErrBuffer().String())) }