mirror of
https://github.com/distribution/distribution.git
synced 2025-09-13 05:38:57 +00:00
feat: add tparallel linter to improve handling parallel tests
This linter both prevents parallel test races as well as suggests parallel tests where appropriate: See: https://github.com/moricho/tparallel Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
This commit is contained in:
@@ -33,6 +33,7 @@ func TestErrorFormat(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestErrors(t *testing.T) {
|
||||
t.Parallel()
|
||||
drvName := "foo"
|
||||
|
||||
testCases := []struct {
|
||||
|
Reference in New Issue
Block a user