summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2018-04-06 17:12:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-04-06 17:12:26 +0000
commit58126f06600112dd592a9c8776cca7770580ac8f (patch)
tree7f84a13de856db3d3079158cd89cc236a8e5d13e /jjb
parent945534eee8642759408f135ff6b0b5a2e9c7b614 (diff)
parent8c1ae8656417b98d984a247cd10a38adfc4511e1 (diff)
Merge "Fix RabbitMQ service installation in Yardstick jobs"
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 ..."