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:
parent
dccaf1434f
commit
bfc748221b
1 changed files with 2 additions and 2 deletions
|
@ -5487,7 +5487,7 @@ func TestBuildRUNoneJSON(t *testing.T) {
|
||||||
name := "testbuildrunonejson"
|
name := "testbuildrunonejson"
|
||||||
|
|
||||||
defer deleteAllContainers()
|
defer deleteAllContainers()
|
||||||
defer deleteImages(name)
|
defer deleteImages(name, "hello-world")
|
||||||
|
|
||||||
ctx, err := fakeContext(`FROM hello-world:frozen
|
ctx, err := fakeContext(`FROM hello-world:frozen
|
||||||
RUN [ "/hello" ]`, map[string]string{})
|
RUN [ "/hello" ]`, map[string]string{})
|
||||||
|
@ -5513,7 +5513,7 @@ RUN [ "/hello" ]`, map[string]string{})
|
||||||
func TestBuildResourceConstraintsAreUsed(t *testing.T) {
|
func TestBuildResourceConstraintsAreUsed(t *testing.T) {
|
||||||
name := "testbuildresourceconstraints"
|
name := "testbuildresourceconstraints"
|
||||||
defer deleteAllContainers()
|
defer deleteAllContainers()
|
||||||
defer deleteImages(name)
|
defer deleteImages(name, "hello-world")
|
||||||
|
|
||||||
ctx, err := fakeContext(`
|
ctx, err := fakeContext(`
|
||||||
FROM hello-world:frozen
|
FROM hello-world:frozen
|
||||||
|
|
Loading…
Add table
Reference in a new issue