mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +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:
@@ -27,8 +27,8 @@ func TestCommitAfterContainerIsDone(t *testing.T) {
|
||||
out, _, err = runCommandWithOutput(inspectCmd)
|
||||
errorOut(err, t, fmt.Sprintf("failed to inspect image: %v %v", out, err))
|
||||
|
||||
go deleteContainer(cleanedContainerID)
|
||||
go deleteImages(cleanedImageID)
|
||||
deleteContainer(cleanedContainerID)
|
||||
deleteImages(cleanedImageID)
|
||||
|
||||
logDone("commit - echo foo and commit the image")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user