Prevent tests running in parallel
Each test tries to reset the database, which shouldn't happen in parallel.
This commit is contained in:
parent
fad2dc3042
commit
2ee66af6d4
2
Makefile
2
Makefile
@ -56,7 +56,7 @@ swagger-ui:
|
|||||||
@echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",'
|
@echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",'
|
||||||
|
|
||||||
test: generate
|
test: generate
|
||||||
go test -short ${PKG_LIST}
|
go test -p 1 -short ${PKG_LIST}
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
@go vet ${PKG_LIST}
|
@go vet ${PKG_LIST}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user