Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
| ... | ... |
@@ -17,6 +17,7 @@ import ( |
| 17 | 17 |
"github.com/opencontainers/go-digest" |
| 18 | 18 |
"gotest.tools/v3/assert" |
| 19 | 19 |
is "gotest.tools/v3/assert/cmp" |
| 20 |
+ "gotest.tools/v3/skip" |
|
| 20 | 21 |
) |
| 21 | 22 |
|
| 22 | 23 |
var ( |
| ... | ... |
@@ -616,6 +617,8 @@ func (s *DockerSchema1RegistrySuite) TestPullFailsWithAlteredManifest(c *testing |
| 616 | 616 |
// This is the schema2 version of the test. |
| 617 | 617 |
func (s *DockerRegistrySuite) TestPullFailsWithAlteredLayer(c *testing.T) {
|
| 618 | 618 |
testRequires(c, DaemonIsLinux) |
| 619 |
+ skip.If(c, testEnv.UsingSnapshotter(), "Faked layer is already in the content store, so it won't be fetched from the repository at all.") |
|
| 620 |
+ |
|
| 619 | 621 |
manifestDigest, err := setupImage(c) |
| 620 | 622 |
assert.Assert(c, err == nil) |
| 621 | 623 |
|