commit | 3f65e7cb802278d24754f811192e95441e6de681 | [log] [tgz] |
---|---|---|
author | Yulia Portnova <yportnova@mirantis.com> | Wed Feb 25 17:19:35 2015 +0200 |
committer | Yulia Portnova <yportnova@mirantis.com> | Wed Feb 25 17:19:35 2015 +0200 |
tree | 0e2b861a16fcb50e55c6c03af43043343c04840c | |
parent | 7ddfa7397474f1cf05330b0df3992491ec58478d [diff] [blame] |
pgbench run.sh: receive num clients and transactions through params
diff --git a/hl_tests/postgres/run.sh b/hl_tests/postgres/run.sh index 132ed97..b71a082 100755 --- a/hl_tests/postgres/run.sh +++ b/hl_tests/postgres/run.sh
@@ -1,8 +1,8 @@ #!/bin/bash set -e -CLIENTS=${CLIENTS:-"4 8"} -TRANSACTINOS_PER_CLIENT=${TRANSACTINOS_PER_CLIENT:-"1 2"} +CLIENTS=$(echo $1 | tr ',' '\n') +TRANSACTINOS_PER_CLIENT=$(echo $2 | tr ',' '\n') sudo -u postgres createdb -O postgres pgbench