Skip to content

Commit

Permalink
Merge pull request #16802 from cockroachdb/bdarnell/jepsen
Browse files Browse the repository at this point in the history
build: Set --concurrency in jepsen tests
  • Loading branch information
bdarnell authored Jun 30, 2017
2 parents 7bcafc4 + 1e20061 commit facdc7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/teamcity-jepsen-run-one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ mkdir -p "${artifacts_dir}"
# What is the controller again?
controller=$(terraform output controller-ip)

# Prepare the command to run the test.
# Prepare the command to run the test. Note that --concurrency must be
# a multiple of 10 and some tests require a minimum of 20.
testcmd="cd jepsen/cockroachdb && set -eo pipefail && \
stdbuf -oL -eL \
~/lein run test \
Expand All @@ -26,6 +27,7 @@ testcmd="cd jepsen/cockroachdb && set -eo pipefail && \
--nodes-file ~/nodes \
--os ubuntu \
--time-limit 180 \
--concurrency 30 \
--recovery-time 25 \
--test-count 1 \
--test ${test} ${nemesis} \
Expand Down

0 comments on commit facdc7b

Please sign in to comment.