mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
Parallelize more slow running tests
This commit is contained in:
@@ -308,6 +308,7 @@ func TestManifestVariant(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestManifestTaggedDigest(t *testing.T) {
|
func TestManifestTaggedDigest(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
rc, err := New(Options{
|
rc, err := New(Options{
|
||||||
CompareDigest: true,
|
CompareDigest: true,
|
||||||
ImageOs: "linux",
|
ImageOs: "linux",
|
||||||
@@ -340,6 +341,7 @@ func TestManifestTaggedDigest(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestManifestTaggedDigestUnknownTag(t *testing.T) {
|
func TestManifestTaggedDigestUnknownTag(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
rc, err := New(Options{
|
rc, err := New(Options{
|
||||||
CompareDigest: true,
|
CompareDigest: true,
|
||||||
ImageOs: "linux",
|
ImageOs: "linux",
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ func TestTags(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestTagsWithDigest(t *testing.T) {
|
func TestTagsWithDigest(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
|
|
||||||
assert.NotNil(t, rc)
|
assert.NotNil(t, rc)
|
||||||
|
|
||||||
image, err := ParseImage(ParseImageOptions{
|
image, err := ParseImage(ParseImageOptions{
|
||||||
|
|||||||
Reference in New Issue
Block a user