[test] Call cmd.Start and cmd.Wait separately to avoid triggering race detector (#616)
* [test] Call cmd.Start and cmd.Wait separately to avoid triggering race detector * [test] Enable race detector for tests
This commit is contained in:
parent
6e82fd1c56
commit
cb14fff6c6
2 changed files with 6 additions and 2 deletions
2
Makefile
2
Makefile
|
|
@ -43,7 +43,7 @@ style:
|
|||
|
||||
test: collector/fixtures/sys/.unpacked
|
||||
@echo ">> running tests"
|
||||
@$(GO) test -short $(pkgs)
|
||||
@$(GO) test -short -race $(pkgs)
|
||||
|
||||
collector/fixtures/sys/.unpacked: collector/fixtures/sys.ttar
|
||||
./ttar -C collector/fixtures -x -f collector/fixtures/sys.ttar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue