Merge pull request #46432 from vvoland/c8d-skip-image-rm-test

integration-cli: Skip TestRmiParentImageFail when using c8d snapshotters
This commit is contained in:
Sebastiaan van Stijn 2023-09-08 17:44:55 +02:00 committed by GitHub
commit e6d9d216dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@ import (
"github.com/docker/docker/pkg/stringid"
"gotest.tools/v3/assert"
"gotest.tools/v3/icmd"
"gotest.tools/v3/skip"
)
type DockerCLIRmiSuite struct {
@ -303,6 +304,8 @@ RUN echo 2 #layer2
}
func (*DockerCLIRmiSuite) TestRmiParentImageFail(c *testing.T) {
skip.If(c, testEnv.UsingSnapshotter(), "image are independent when using the containerd image store")
buildImageSuccessfully(c, "test", build.WithDockerfile(`
FROM busybox
RUN echo hello`))