From b92a4c6ef867564f2df660418ee40905f210982d Mon Sep 17 00:00:00 2001 From: Pascal Precht <445106+PascalPrecht@users.noreply.github.com> Date: Fri, 17 Jun 2022 12:15:43 +0200 Subject: [PATCH] Increase timeout for test execution on CI --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4865e5c9b..3ea85e13a 100644 --- a/Makefile +++ b/Makefile @@ -298,8 +298,8 @@ test-unit: UNIT_TEST_PACKAGES = $(shell go list ./... | \ grep -v /t/benchmarks | \ grep -v /transactions/fake ) test-unit: ##@tests Run unit and integration tests - go test -v -failfast $(UNIT_TEST_PACKAGES) $(gotest_extraflags) - cd ./waku && go test -v -failfast ./... $(gotest_extraflags) + go test -timeout 20m -v -failfast $(UNIT_TEST_PACKAGES) $(gotest_extraflags) + cd ./waku && go test -timeout 20m -v -failfast ./... $(gotest_extraflags) test-unit-race: gotest_extraflags=-race test-unit-race: test-unit ##@tests Run unit and integration tests with -race flag