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

Wait for the container to finish in TestAttachDisconnect before destroying it

This commit is contained in:
Guillaume J. Charmes 2013-04-23 11:09:48 -07:00
parent 5a02c9ba0a
commit a22c78523f

View file

@ -394,4 +394,5 @@ func TestAttachDisconnect(t *testing.T) {
// Try to avoid the timeoout in destroy. Best effort, don't check error
cStdin, _ := container.StdinPipe()
cStdin.Close()
container.Wait()
}