Skip to content

Commit

Permalink
build: fix TESTS env variable in roachtest nightly script
Browse files Browse the repository at this point in the history
AWS TC nightly fails with `unbound variable TESTS`. This
change initializes it outside the if condition.

Release justification: non-production code changes
  • Loading branch information
adityamaru committed Aug 28, 2020
1 parent 0175d75 commit bdddab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/teamcity-nightly-roachtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
;;
*)
Expand Down

0 comments on commit bdddab4

Please sign in to comment.