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
This commit is contained in:
Jakub Libosvar 2018-03-06 16:51:12 +00:00
parent f6179a8c7a
commit 806af8ad7a

View File

@ -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