From 0119abdcdd9733059bcb8a2fef061f0063bcaaa4 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Wed, 17 Jul 2019 00:15:26 -0400 Subject: [PATCH] travis: Try to work around CI slowdowns I think they throttle strangely on their garbage machines. --- test/test-gotest.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test-gotest.sh b/test/test-gotest.sh index 916a75acdb..bea5c3fa2b 100755 --- a/test/test-gotest.sh +++ b/test/test-gotest.sh @@ -7,6 +7,11 @@ ROOT=$(dirname "${BASH_SOURCE}")/.. cd "${ROOT}" . test/util.sh +# travis is slow for some reason +if env | grep -q -e '^TRAVIS=true$'; then + export GO_TEST_TIMEOUT_SCALE=3 +fi + # if we want to run this test as root, use build tag -root to ask each test... XSUDO='' XTAGS=()