1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

integration-cli: wait for container before sending ^D

Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
Tibor Vass 2015-01-22 15:58:59 -05:00
parent 10ab6dcb4f
commit a124bfaef3

View file

@ -81,6 +81,9 @@ func TestAttachAfterDetach(t *testing.T) {
}()
time.Sleep(500 * time.Millisecond)
if err := waitRun(name); err != nil {
t.Fatal(err)
}
cpty.Write([]byte{16})
time.Sleep(100 * time.Millisecond)
cpty.Write([]byte{17})