Browse code

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

Giulio Fidente authored on 2014/02/21 00:43:49
Showing 1 changed files
... ...
@@ -314,8 +314,8 @@ function configure_tempest() {
314 314
     iniset $TEMPEST_CONFIG scenario large_ops_number ${TEMPEST_LARGE_OPS_NUMBER:-0}
315 315
 
316 316
     # Volume
317
-    if is_service_enabled c-bak; then
318
-        iniset $TEMPEST_CONFIG volume volume_backup_enabled "True"
317
+    if ! is_service_enabled c-bak; then
318
+        iniset $TEMPEST_CONFIG volume-feature-enabled backup False
319 319
     fi
320 320
     CINDER_MULTI_LVM_BACKEND=$(trueorfalse False $CINDER_MULTI_LVM_BACKEND)
321 321
     if [ $CINDER_MULTI_LVM_BACKEND == "True" ]; then