summaryrefslogtreecommitdiff
path: root/service/test/reactor/concurrent_logins.sh
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2016-08-31 11:17:15 -0300
committerDenis Costa <deniscostadsc@gmail.com>2016-08-31 11:17:15 -0300
commita34e5fe54f074a9a3f570e71cf30d4cda8b9ce41 (patch)
treeb1627b456c11a2e0c1cf4390703c9fb46f14cca8 /service/test/reactor/concurrent_logins.sh
parentce988bd3b73607c336ff77a75a686db93fd5bdfe (diff)
Improves help function.
Diffstat (limited to 'service/test/reactor/concurrent_logins.sh')
-rwxr-xr-xservice/test/reactor/concurrent_logins.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/service/test/reactor/concurrent_logins.sh b/service/test/reactor/concurrent_logins.sh
index b1197c13..e42b7c44 100755
--- a/service/test/reactor/concurrent_logins.sh
+++ b/service/test/reactor/concurrent_logins.sh
@@ -9,8 +9,11 @@ USERS=1
SLEEP=1
function show_help {
+ echo
echo "Run several tests against login in the pixelated-user-agent vagrant machine"
echo
+ echo "It saves the logs to service/test/login/metrics"
+ echo
echo " --user|-u - array with amount of tests split by comma"
echo " --runs|-r - how many times a tests is going to run"
echo " --provider|-p - set the provider"
@@ -70,6 +73,7 @@ done
run_on_vagrant "pkill pixelated"
run_on_vagrant "rm ~/MetricsTime"
run_on_vagrant "mkdir -p /vagrant/service/test/login/metrics"
+run_on_vagrant "sudo ln -s /home/vagrant/user-agent-venv/bin/pixelated-user-agent /usr/local/bin"
for user in $(tr ',' ' ' <<< $USERS); do
echo "> Run for $user user(s)"