Browse Source

c8d: disable schema1 registry integration tests

schema1 was deprecated a while ago, containerd fails to push to a
schema1 registry, let's just skip these tests for the containerd
integration

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
Djordje Lukic 1 year ago
parent
commit
4acbf7d8c3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      integration-cli/check_test.go

+ 2 - 0
integration-cli/check_test.go

@@ -28,6 +28,7 @@ import (
 	"go.opentelemetry.io/otel/attribute"
 	"go.opentelemetry.io/otel/codes"
 	"gotest.tools/v3/assert"
+	"gotest.tools/v3/skip"
 )
 
 const (
@@ -364,6 +365,7 @@ func TestDockerRegistrySuite(t *testing.T) {
 }
 
 func TestDockerSchema1RegistrySuite(t *testing.T) {
+	skip.If(t, testEnv.UsingSnapshotter())
 	ctx := testutil.StartSpan(baseContext, t)
 	ensureTestEnvSetup(ctx, t)
 	suite.Run(ctx, t, &DockerSchema1RegistrySuite{ds: &DockerSuite{}})