mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 15:58:39 +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:
@@ -42,8 +42,8 @@ func TestSaveAndLoadRepo(t *testing.T) {
|
||||
out, _, err = runCommandWithOutput(inspectCmd)
|
||||
errorOut(err, t, fmt.Sprintf("the repo should exist after loading it: %v %v", out, err))
|
||||
|
||||
go deleteImages(repoName)
|
||||
go deleteContainer(cleanedContainerID)
|
||||
deleteContainer(cleanedContainerID)
|
||||
deleteImages(repoName)
|
||||
|
||||
os.Remove("/tmp/foobar-save-load-test.tar")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user