Wait for the container to finish in TestAttachDisconnect before destroying it
Upstream-commit: a22c78523f20c44e90e7a3adbd01a5560ed4f6ae Component: engine
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user