Increase timeout for test execution on CI

This commit is contained in:
Pascal Precht 2022-06-17 12:15:43 +02:00 committed by r4bbit.eth
parent fea37ff5b4
commit b92a4c6ef8
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ test-unit: UNIT_TEST_PACKAGES = $(shell go list ./... | \
grep -v /t/benchmarks | \ grep -v /t/benchmarks | \
grep -v /transactions/fake ) grep -v /transactions/fake )
test-unit: ##@tests Run unit and integration tests test-unit: ##@tests Run unit and integration tests
go test -v -failfast $(UNIT_TEST_PACKAGES) $(gotest_extraflags) go test -timeout 20m -v -failfast $(UNIT_TEST_PACKAGES) $(gotest_extraflags)
cd ./waku && go test -v -failfast ./... $(gotest_extraflags) cd ./waku && go test -timeout 20m -v -failfast ./... $(gotest_extraflags)
test-unit-race: gotest_extraflags=-race test-unit-race: gotest_extraflags=-race
test-unit-race: test-unit ##@tests Run unit and integration tests with -race flag test-unit-race: test-unit ##@tests Run unit and integration tests with -race flag