Browse code

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 authored on 2023/09/11 22:30:44
Showing 1 changed files
... ...
@@ -28,6 +28,7 @@ import (
28 28
 	"go.opentelemetry.io/otel/attribute"
29 29
 	"go.opentelemetry.io/otel/codes"
30 30
 	"gotest.tools/v3/assert"
31
+	"gotest.tools/v3/skip"
31 32
 )
32 33
 
33 34
 const (
... ...
@@ -364,6 +365,7 @@ func TestDockerRegistrySuite(t *testing.T) {
364 364
 }
365 365
 
366 366
 func TestDockerSchema1RegistrySuite(t *testing.T) {
367
+	skip.If(t, testEnv.UsingSnapshotter())
367 368
 	ctx := testutil.StartSpan(baseContext, t)
368 369
 	ensureTestEnvSetup(ctx, t)
369 370
 	suite.Run(ctx, t, &DockerSchema1RegistrySuite{ds: &DockerSuite{}})