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:
parent
5a02c9ba0a
commit
a22c78523f
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue