From 806af8ad7af8c5fb208a844163beac9eb700e317 Mon Sep 17 00:00:00 2001 From: Jakub Libosvar Date: Tue, 6 Mar 2018 16:51:12 +0000 Subject: [PATCH] functional: Fix RABBIT_PASSWORD env var Caller of configure_func_for_testing.sh script is able to override default password for rabbit service. This patch replaces RABBIT_HOST as a password to RABBIT_PASSWORD env var. TrivialFix Change-Id: Ie9cafc1fb75209ae1cacc58f254c1da33521d6b5 --- tools/configure_for_func_testing.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/configure_for_func_testing.sh b/tools/configure_for_func_testing.sh index 901cd63d2ff..95f59a1f2db 100755 --- a/tools/configure_for_func_testing.sh +++ b/tools/configure_for_func_testing.sh @@ -101,7 +101,7 @@ function _install_rpc_backend { RABBIT_USERID=${RABBIT_USERID:-stackrabbit} RABBIT_HOST=${RABBIT_HOST:-$SERVICE_HOST} - RABBIT_PASSWORD=${RABBIT_HOST:-secretrabbit} + RABBIT_PASSWORD=${RABBIT_PASSWORD:-secretrabbit} source $DEVSTACK_PATH/lib/rpc_backend