Skip to content

Commit 43792fd

Browse files
authored
Merge pull request #382 from authzed/add-race
build: add -race to unit tests
2 parents aa4c9ba + dcf7d00 commit 43792fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magefiles/magefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type Test mg.Namespace
3232
// Runs the unit tests
3333
func (Test) Unit() error {
3434
fmt.Println("running unit tests")
35-
return sh.RunV(goCmdForTests(), "test", "./...")
35+
return sh.RunV(goCmdForTests(), "test", "-race", "-timeout", "30m", "./...")
3636
}
3737

3838
const (

0 commit comments

Comments
 (0)