From 1e200614ab77e1ef24df32a8d95ecf4fd1d4b9cf Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Thu, 15 Jun 2017 17:25:34 -0400 Subject: [PATCH] build: Set --concurrency in jepsen tests Fixes #15734 Fixes #15737 --- build/teamcity-jepsen-run-one.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/teamcity-jepsen-run-one.sh b/build/teamcity-jepsen-run-one.sh index 2649e05379a4..8585e98052de 100755 --- a/build/teamcity-jepsen-run-one.sh +++ b/build/teamcity-jepsen-run-one.sh @@ -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 \ @@ -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} \