From 88312fa61f889307de85cd04b12250db57210470 Mon Sep 17 00:00:00 2001 From: Jordan Pittier Date: Wed, 15 Feb 2017 16:48:04 +0100 Subject: [PATCH] Do not run cinder API V1 tests anymore by default I think now is a good time to stop running Cinder V1 tests. It should save quite some Infra resources and jobs should run faster too. Also, remove some useless variables in lib/tempest. Change-Id: I0edf1d88c136c3b910a5773690a603eeacb50266 --- lib/tempest | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/tempest b/lib/tempest index 937436dc5c..4cceda6942 100644 --- a/lib/tempest +++ b/lib/tempest @@ -48,10 +48,6 @@ TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc} TEMPEST_CONFIG=$TEMPEST_CONFIG_DIR/tempest.conf TEMPEST_STATE_PATH=${TEMPEST_STATE_PATH:=$DATA_DIR/tempest} -NOVA_SOURCE_DIR=$DEST/nova - -BUILD_INTERVAL=1 - # This is the timeout that tempest will wait for a VM to change state, # spawn, delete, etc. # The default is set to 196 seconds. @@ -446,6 +442,7 @@ function configure_tempest { iniset $TEMPEST_CONFIG volume-feature-enabled volume_services True # TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life. iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True + iniset $TEMPEST_CONFIG volume-feature-enabled api_v1 $(trueorfalse False TEMPEST_VOLUME_API_V1) local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None} local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"} if [ "$tempest_volume_min_microversion" == "None" ]; then