mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 13:41:36 +00:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user