cli integration: sync container & image deletion

This makes container and image removal in the tests run synchronously.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
This commit is contained in:
unclejack
2014-04-04 03:22:32 +03:00
parent 09aa28eca0
commit e09274476f
10 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func TestPushBusyboxImage(t *testing.T) {
out, exitCode, err = runCommandWithOutput(pushCmd)
errorOut(err, t, fmt.Sprintf("%v %v", out, err))
go deleteImages(repoName)
deleteImages(repoName)
if err != nil || exitCode != 0 {
t.Fatal("pushing the image to the private registry has failed")