mirror of
https://github.com/moby/moby.git
synced 2025-11-02 05:13:42 +03:00
integration-cli: wait for container before sending ^D
Signed-off-by: Tibor Vass <teabee89@gmail.com>
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user