Fix the condition for volume revert tests

They were fixed in master a few months ago, and the fix is in zed.
The fix is now being backported to older branches.
Also, fix the regexp used for matching.

Depends-On: https://review.opendev.org/c/openstack/cinder/+/859839
Depends-On: https://review.opendev.org/c/openstack/cinder/+/859840
Depends-On: https://review.opendev.org/c/openstack/cinder/+/859841
Change-Id: I3ea117c2bf36334ba38fda90d4493276d7308db5
This commit is contained in:
Luigi Toscano 2022-09-29 14:57:16 +02:00
parent dd12367f90
commit bf49f00d51

View File

@ -81,7 +81,7 @@ function configure_tempest_nfs {
iniset $TEMPEST_CONFIG volume-feature-enabled backup False
iniset $TEMPEST_CONFIG volume-feature-enabled clone True
iniset $TEMPEST_CONFIG volume-feature-enabled manage_snapshot False
if [[ "$TARGET_BRANCH" =~ master ]]; then
if [[ "$TARGET_BRANCH" =~ stable/(ocata|pike|queens|rocky|stein|train|ussuri|victoria) ]]; then
iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert False
else
iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert True