Skip to content

Commit

Permalink
Fix for t.Parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ffjlabo committed Mar 10, 2022
1 parent fc85063 commit 674e335
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/app/piped/cloudprovider/ecs/task_test.go
Expand Up @@ -82,6 +82,8 @@ cpu: 256
}

func TestFindArtifactVersions(t *testing.T) {
t.Parallel()

testcases := []struct {
name string
input []byte
Expand Down Expand Up @@ -273,7 +275,7 @@ func TestFindArtifactVersions(t *testing.T) {

for _, tc := range testcases {
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
tc := tc

td, _ := parseTaskDefinition(tc.input)
versions, err := FindArtifactVersions(td)
Expand Down

0 comments on commit 674e335

Please sign in to comment.