Skip TestPullManifestList when using containerd
This test is very weird, the Size in the manifests that it creates is wrong, graph drivers only print a warning in that case but containerd fails because it verifies more things. The media types are also wrong in the containerd case, the manifest list forces the media type to be "schema2.MediaTypeManifest" but in the containerd case the media type is an OCI one. Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
parent
fb3cc5e716
commit
3c2b06099d
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ import (
|
|||
"github.com/opencontainers/go-digest"
|
||||
"gotest.tools/v3/assert"
|
||||
"gotest.tools/v3/icmd"
|
||||
"gotest.tools/v3/skip"
|
||||
)
|
||||
|
||||
// testPullImageWithAliases pulls a specific image tag and verifies that any aliases (i.e., other
|
||||
|
@ -283,6 +284,7 @@ func (s *DockerSchema1RegistrySuite) TestPullNoLayers(c *testing.T) {
|
|||
}
|
||||
|
||||
func (s *DockerRegistrySuite) TestPullManifestList(c *testing.T) {
|
||||
skip.If(c, testEnv.UsingSnapshotter(), "containerd knows how to pull manifest lists")
|
||||
pushDigest, err := setupImage(c)
|
||||
assert.NilError(c, err, "error setting up image")
|
||||
|
||||
|
|
Loading…
Reference in a new issue