From 9826638a26a70509b4f7f2016117d8df75253bdc Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Thu, 12 Oct 2023 15:37:27 -0700 Subject: [PATCH] Parallelize more slow running tests --- pkg/registry/manifest_test.go | 2 ++ pkg/registry/tags_test.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pkg/registry/manifest_test.go b/pkg/registry/manifest_test.go index 4000a576..b3f2574b 100644 --- a/pkg/registry/manifest_test.go +++ b/pkg/registry/manifest_test.go @@ -308,6 +308,7 @@ func TestManifestVariant(t *testing.T) { } func TestManifestTaggedDigest(t *testing.T) { + t.Parallel() rc, err := New(Options{ CompareDigest: true, ImageOs: "linux", @@ -340,6 +341,7 @@ func TestManifestTaggedDigest(t *testing.T) { } func TestManifestTaggedDigestUnknownTag(t *testing.T) { + t.Parallel() rc, err := New(Options{ CompareDigest: true, ImageOs: "linux", diff --git a/pkg/registry/tags_test.go b/pkg/registry/tags_test.go index 1038ba85..9174a879 100644 --- a/pkg/registry/tags_test.go +++ b/pkg/registry/tags_test.go @@ -28,6 +28,8 @@ func TestTags(t *testing.T) { } func TestTagsWithDigest(t *testing.T) { + t.Parallel() + assert.NotNil(t, rc) image, err := ParseImage(ParseImageOptions{