Wait for the container to finish in TestAttachDisconnect before destroying it

Upstream-commit: a22c78523f20c44e90e7a3adbd01a5560ed4f6ae
Component: engine
This commit is contained in:
Guillaume J. Charmes
2013-04-23 11:09:48 -07:00
parent b74a205fb6
commit 27ad61c153

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