Merge "Fix the condition for volume revert tests"

This commit is contained in:
Zuul 2023-04-26 11:07:00 +00:00 committed by Gerrit Code Review
commit 845a5fda2c

View File

@ -80,7 +80,7 @@ function configure_tempest_nfs {
iniset $TEMPEST_CONFIG volume-feature-enabled backup False iniset $TEMPEST_CONFIG volume-feature-enabled backup False
iniset $TEMPEST_CONFIG volume-feature-enabled clone True iniset $TEMPEST_CONFIG volume-feature-enabled clone True
iniset $TEMPEST_CONFIG volume-feature-enabled manage_snapshot False 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 iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert False
else else
iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert True iniset $TEMPEST_CONFIG volume-feature-enabled volume_revert True