1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Cleanup "hello-world" image in build tests

Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
Arnaud Porterie 2015-03-23 15:16:13 -07:00
parent dccaf1434f
commit bfc748221b

View file

@ -5487,7 +5487,7 @@ func TestBuildRUNoneJSON(t *testing.T) {
name := "testbuildrunonejson"
defer deleteAllContainers()
defer deleteImages(name)
defer deleteImages(name, "hello-world")
ctx, err := fakeContext(`FROM hello-world:frozen
RUN [ "/hello" ]`, map[string]string{})
@ -5513,7 +5513,7 @@ RUN [ "/hello" ]`, map[string]string{})
func TestBuildResourceConstraintsAreUsed(t *testing.T) {
name := "testbuildresourceconstraints"
defer deleteAllContainers()
defer deleteImages(name)
defer deleteImages(name, "hello-world")
ctx, err := fakeContext(`
FROM hello-world:frozen