From bdddab4a0b2e350c1b576969e72bf727c09f44e3 Mon Sep 17 00:00:00 2001 From: Aditya Maru Date: Fri, 28 Aug 2020 08:15:00 -0400 Subject: [PATCH] build: fix TESTS env variable in roachtest nightly script AWS TC nightly fails with `unbound variable TESTS`. This change initializes it outside the if condition. Release justification: non-production code changes --- build/teamcity-nightly-roachtest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/teamcity-nightly-roachtest.sh b/build/teamcity-nightly-roachtest.sh index 9adca76758fb..fc70fdd3fb52 100755 --- a/build/teamcity-nightly-roachtest.sh +++ b/build/teamcity-nightly-roachtest.sh @@ -75,6 +75,7 @@ ARTIFACTS="${artifacts}" PARALLELISM=16 CPUQUOTA=1024 ZONES="" +TESTS="" case "${CLOUD}" in gce) # We specify --zones below so that nodes are created in us-central1-b by @@ -86,8 +87,7 @@ case "${CLOUD}" in PARALLELISM=3 CPUQUOTA=384 if [ -z "${TESTS}" ]; then - TESTS="kv(0|95)|ycsb|tpcc/(headroom/n4cpu16)|tpccbench/(nodes=3/cpu=16)|scbench/randomload/ - (nodes=3/ops=2000/conc=1)|backup/(KMS/n3cpu4)" + TESTS="kv(0|95)|ycsb|tpcc/(headroom/n4cpu16)|tpccbench/(nodes=3/cpu=16)|scbench/randomload/(nodes=3/ops=2000/conc=1)|backup/(KMS/n3cpu4)" fi ;; *)