mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
test: 2 second timeout (not 2000)
This commit is contained in:
parent
72d02ecdde
commit
fe302fbfd2
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ func TestRunDisconnectTty(t *testing.T) {
|
|||
// Client disconnect after run -i should keep stdin out in TTY mode
|
||||
container := globalRuntime.List()[0]
|
||||
|
||||
setTimeout(t, "Read/Write assertion timed out", 2000*time.Second, func() {
|
||||
setTimeout(t, "Read/Write assertion timed out", 2*time.Second, func() {
|
||||
if err := assertPipe("hello\n", "hello", stdout, stdinPipe, 15); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue