Browse Source

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

integration-cli: Skip TestRmiParentImageFail when using c8d snapshotters
Sebastiaan van Stijn 1 year ago
parent
commit
e6d9d216dd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      integration-cli/docker_cli_rmi_test.go

+ 3 - 0
integration-cli/docker_cli_rmi_test.go

@@ -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`))