Enable volume revert to snapshot RBD tests from Ussuri

QA people pointed out that It should be set here, not in the job.

Change-Id: Id925fe667472f7a71ac236aec136dd7b59e43794
This commit is contained in:
Luigi Toscano 2020-05-12 00:20:31 +02:00
parent 6e70fbcf81
commit 437ebc54b1
1 changed files with 7 additions and 0 deletions

View File

@ -111,6 +111,13 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
else
iniset $TEMPEST_CONFIG volume-feature-enabled extend_attached_volume True
fi
# Volume revert to snapshot support for rbd was introduced in Ussuri by
# If8a5eb3a03e18f9043ff29f7648234c9b46376a0
if [[ "$TARGET_BRANCH" =~ stable/(ocata|pike|queens|rocky|stein|train) ]]; then
iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert False
else
iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert True
fi
fi
fi