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"
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue