Browse code

Wait for the container to finish in TestAttachDisconnect before destroying it

Guillaume J. Charmes authored on 2013/04/24 03:09:48
Showing 1 changed files
... ...
@@ -394,4 +394,5 @@ func TestAttachDisconnect(t *testing.T) {
394 394
 	// Try to avoid the timeoout in destroy. Best effort, don't check error
395 395
 	cStdin, _ := container.StdinPipe()
396 396
 	cStdin.Close()
397
+	container.Wait()
397 398
 }