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
| ... | ... |
@@ -48,10 +48,6 @@ TEMPEST_CONFIG_DIR=${TEMPEST_CONFIG_DIR:-$TEMPEST_DIR/etc}
|
| 48 | 48 |
TEMPEST_CONFIG=$TEMPEST_CONFIG_DIR/tempest.conf |
| 49 | 49 |
TEMPEST_STATE_PATH=${TEMPEST_STATE_PATH:=$DATA_DIR/tempest}
|
| 50 | 50 |
|
| 51 |
-NOVA_SOURCE_DIR=$DEST/nova |
|
| 52 |
- |
|
| 53 |
-BUILD_INTERVAL=1 |
|
| 54 |
- |
|
| 55 | 51 |
# This is the timeout that tempest will wait for a VM to change state, |
| 56 | 52 |
# spawn, delete, etc. |
| 57 | 53 |
# The default is set to 196 seconds. |
| ... | ... |
@@ -446,6 +442,7 @@ function configure_tempest {
|
| 446 | 446 |
iniset $TEMPEST_CONFIG volume-feature-enabled volume_services True |
| 447 | 447 |
# TODO(ameade): Remove the api_v3 flag when Mitaka and Liberty are end of life. |
| 448 | 448 |
iniset $TEMPEST_CONFIG volume-feature-enabled api_v3 True |
| 449 |
+ iniset $TEMPEST_CONFIG volume-feature-enabled api_v1 $(trueorfalse False TEMPEST_VOLUME_API_V1) |
|
| 449 | 450 |
local tempest_volume_min_microversion=${TEMPEST_VOLUME_MIN_MICROVERSION:-None}
|
| 450 | 451 |
local tempest_volume_max_microversion=${TEMPEST_VOLUME_MAX_MICROVERSION:-"latest"}
|
| 451 | 452 |
if [ "$tempest_volume_min_microversion" == "None" ]; then |