From 3d60f4dd531388cd01a3aa689053dfc22acbd16c Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 20 Feb 2014 16:43:49 +0100 Subject: [PATCH] Disable tempest backup tests if c-bak unavailable This will update the tempest config to not run the cinder backup tests when the c-bak service is not enabled. Change-Id: I0b6486f1222afa7ae9bd9d13c7d3648d2b870710 --- lib/tempest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tempest b/lib/tempest index c8eebfcf05..596750b32f 100644 --- a/lib/tempest +++ b/lib/tempest @@ -314,8 +314,8 @@ function configure_tempest() { iniset $TEMPEST_CONFIG scenario large_ops_number ${TEMPEST_LARGE_OPS_NUMBER:-0} # Volume - if is_service_enabled c-bak; then - iniset $TEMPEST_CONFIG volume volume_backup_enabled "True" + if ! is_service_enabled c-bak; then + iniset $TEMPEST_CONFIG volume-feature-enabled backup False fi CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND) if [ $CINDER_MULTI_LVM_BACKEND == "True" ]; then