make: increase test timeout to 20 minutes
This commit is contained in:
parent
b5fd915162
commit
825ff779a1
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -81,7 +81,7 @@ check: unit
|
|||
|
||||
unit:
|
||||
@$(call print, "Running unit tests.")
|
||||
$(GOLIST) | $(XARGS) env $(GOTEST)
|
||||
$(GOLIST) | $(XARGS) env $(GOTEST) -test.timeout=20m
|
||||
|
||||
unit-cover: $(GOACC_BIN)
|
||||
@$(call print, "Running unit coverage tests.")
|
||||
|
@ -89,7 +89,7 @@ unit-cover: $(GOACC_BIN)
|
|||
|
||||
unit-race:
|
||||
@$(call print, "Running unit race tests.")
|
||||
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(GOLIST) | $(XARGS) env $(GOTEST) -race
|
||||
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(GOLIST) | $(XARGS) env $(GOTEST) -race -test.timeout=20m
|
||||
|
||||
# =========
|
||||
# UTILITIES
|
||||
|
|
Loading…
Reference in a new issue