mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
09aa28eca0
commit
e09274476f
10 changed files with 17 additions and 17 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue