enable volume backup tests if c-bak is enabled

this will set to True the tempest volume/volume_backup_enabled
option if c-bak is in ENABLED_SERVICES

Change-Id: I69931d668411fc8144d0fdb2f58ad9b6e987f793
This commit is contained in:
Giulio Fidente 2013-09-10 02:51:26 +02:00
parent f2f31837c8
commit 3632ab1b66

View File

@ -286,6 +286,9 @@ function configure_tempest() {
iniset $TEMPEST_CONF scenario large_ops_number ${TEMPEST_LARGE_OPS_NUMBER:-0} iniset $TEMPEST_CONF scenario large_ops_number ${TEMPEST_LARGE_OPS_NUMBER:-0}
# Volume # Volume
if is_service_enabled c-bak; then
iniset $TEMPEST_CONF volume volume_backup_enabled "True"
fi
CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND) CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)
if [ $CINDER_MULTI_LVM_BACKEND == "True" ]; then if [ $CINDER_MULTI_LVM_BACKEND == "True" ]; then
iniset $TEMPEST_CONF volume multi_backend_enabled "True" iniset $TEMPEST_CONF volume multi_backend_enabled "True"