From 825ff779a11586d607883096178c7563aa4ed7b7 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 18 May 2021 13:26:45 +0200 Subject: [PATCH] make: increase test timeout to 20 minutes --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e732545..b09ca72 100644 --- a/Makefile +++ b/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