mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 13:11:30 +00:00
Merge pull request #11667 from icecrime/integration-cli_image_cleanup
Cleanup "hello-world" image in build tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user