Merge pull request #720 from sargun/set-test-timeout

Set timeout for tests on CI to  9 minutes
This commit is contained in:
Sargun Dhillon
2019-08-12 14:53:09 -07:00
committed by GitHub

View File

@@ -83,7 +83,7 @@ ifndef CI
else
@echo "Testing in CI..."
$Q mkdir -p test
$Q ( GODEBUG=cgocheck=2 go test -v $(allpackages); echo $$? ) | \
$Q ( GODEBUG=cgocheck=2 go test -timeout=9m -v $(allpackages); echo $$? ) | \
tee test/output.txt | sed '$$ d'; exit $$(tail -1 test/output.txt)
endif