1
0
Fork 0
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:
unclejack 2014-04-04 03:22:32 +03:00
parent 09aa28eca0
commit e09274476f
10 changed files with 17 additions and 17 deletions

View file

@ -24,7 +24,7 @@ func TestLogsContainerSmallerThanPage(t *testing.T) {
t.Fatalf("Expected log length of %d, received %d\n", testLen+1, len(out))
}
go deleteContainer(cleanedContainerID)
deleteContainer(cleanedContainerID)
logDone("logs - logs container running echo smaller than page size")
}
@ -47,7 +47,7 @@ func TestLogsContainerBiggerThanPage(t *testing.T) {
t.Fatalf("Expected log length of %d, received %d\n", testLen+1, len(out))
}
go deleteContainer(cleanedContainerID)
deleteContainer(cleanedContainerID)
logDone("logs - logs container running echo bigger than page size")
}
@ -70,7 +70,7 @@ func TestLogsContainerMuchBiggerThanPage(t *testing.T) {
t.Fatalf("Expected log length of %d, received %d\n", testLen+1, len(out))
}
go deleteContainer(cleanedContainerID)
deleteContainer(cleanedContainerID)
logDone("logs - logs container running echo much bigger than page size")
}