summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/yardstick/yardstick-project-jobs.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/jjb/yardstick/yardstick-project-jobs.yml b/jjb/yardstick/yardstick-project-jobs.yml
index 63ce2986f..7987a329a 100644
--- a/jjb/yardstick/yardstick-project-jobs.yml
+++ b/jjb/yardstick/yardstick-project-jobs.yml
@@ -169,11 +169,11 @@
sudo apt-get -y clean && sudo apt-get -y autoremove
echo "Configure RabbitMQ service"
- service rabbitmq-server restart
- rabbitmqctl start_app
- if [ -z "$(rabbitmqctl list_users | grep yardstick)" ]; then
- rabbitmqctl add_user yardstick yardstick
- rabbitmqctl set_permissions yardstick ".*" ".*" ".*"
+ sudo service rabbitmq-server restart
+ sudo rabbitmqctl start_app
+ if [ -z "$(sudo rabbitmqctl list_users | grep yardstick)" ]; then
+ sudo rabbitmqctl add_user yardstick yardstick
+ sudo rabbitmqctl set_permissions yardstick ".*" ".*" ".*"
fi
echo "Running functional tests in Python 2.7 ..."
@@ -193,11 +193,11 @@
sudo apt-get -y clean && sudo apt-get -y autoremove
echo "Configure RabbitMQ service"
- service rabbitmq-server restart
- rabbitmqctl start_app
- if [ -z "$(rabbitmqctl list_users | grep yardstick)" ]; then
- rabbitmqctl add_user yardstick yardstick
- rabbitmqctl set_permissions yardstick ".*" ".*" ".*"
+ sudo service rabbitmq-server restart
+ sudo rabbitmqctl start_app
+ if [ -z "$(sudo rabbitmqctl list_users | grep yardstick)" ]; then
+ sudo rabbitmqctl add_user yardstick yardstick
+ sudo rabbitmqctl set_permissions yardstick ".*" ".*" ".*"
fi
echo "Running functional tests in Python 3 ..."