소스 검색

Wait for the container to finish in TestAttachDisconnect before destroying it

Guillaume J. Charmes 12 년 전
부모
커밋
a22c78523f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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()
 }