diff options
author | drebs <drebs@leap.se> | 2016-07-25 21:34:23 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-08-01 21:09:04 -0300 |
commit | de5cd462cc3f04275e22d9267ecb8e6c2b23dfda (patch) | |
tree | c5b89e91b9629c09fa144c614bf776af3962720b /scripts/docker/files/bin | |
parent | 76acb8f39a32b6b61f00af571bae9bd48c0a5d62 (diff) |
[test] allow passing number of docs on command line on perf tests
Diffstat (limited to 'scripts/docker/files/bin')
-rwxr-xr-x | scripts/docker/files/bin/run-perf.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/docker/files/bin/run-perf.sh b/scripts/docker/files/bin/run-perf.sh index 35c7f006..72060230 100755 --- a/scripts/docker/files/bin/run-perf.sh +++ b/scripts/docker/files/bin/run-perf.sh @@ -2,6 +2,7 @@ REPO=/builds/leap/soledad/testing COUCH_URL="${COUCH_URL:-http://127.0.0.1:5984}" +SOLEDAD_PRELOAD_NUM="${SOLEDAD_PRELOAD_NUM:-100}" if [ ! -z "${SOLEDAD_REMOTE}" ]; then git -C ${REPO} remote set-url origin ${SOLEDAD_REMOTE} @@ -17,4 +18,5 @@ cd ${REPO} tox perf -- \ --durations 0 \ --couch-url ${COUCH_URL} \ - --twisted + --twisted \ + --num-docs ${SOLEDAD_PRELOAD_NUM} |