Pārlūkot izejas kodu

Wait for the container to finish in TestAttachDisconnect before destroying it

Guillaume J. Charmes 12 gadi atpakaļ
vecāks
revīzija
a22c78523f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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()
 }