Browse Source

Wait for the container to finish in TestAttachDisconnect before destroying it

Guillaume J. Charmes 12 years ago
parent
commit
a22c78523f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      commands_test.go

+ 1 - 0
commands_test.go

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