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
1 changed files with 1 additions and 0 deletions

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()
}