Fix multibackend-matrix confs

The command to edit tempest.conf should be run as the same
user that owns that file. This is causing the scripts to run always
with the same backends[1].

[1] http://bit.ly/2juDims

Change-Id: Ie865042c052746b5001f6132c159bc32165021a3
This commit is contained in:
Erlon R. Cruz 2017-02-01 08:34:28 -02:00
parent 91229faf59
commit 183dca0f91
1 changed files with 1 additions and 4 deletions

View File

@ -33,10 +33,7 @@ function configure_tempest_backends {
be1=$1
be2=$2
echo "Configuring tempest conf in ${TEMPEST_CONFIG}"
# TODO(erlon): Call iniset using sudo
#sudo -HE -u ${TEMPEST_USER} iniset $TEMPEST_CONFIG 'volume' \
#'backend_names' ${be1},${be2}
iniset $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2}
iniset -sudo $TEMPEST_CONFIG 'volume' 'backend_names' ${be1},${be2}
}