Skip to content

Commit e9a9fbe

Browse files
committed
Don't run swap_volume tests in Tempest if cells v1 is enabled
Cells v1 apparently doesn't support the swap volume API which was recently enabled for testing in change: 92575ba Rather than revert that change, we should just handle the cells v1 case and not enable that test in that environment. Change-Id: I80f52e8299641098d90d3c374a80770fc45b8122 Closes-Bug: #1660511
1 parent a935193 commit e9a9fbe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/tempest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,10 @@ function configure_tempest {
516516
iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
517517
iniset $TEMPEST_CONFIG compute-feature-enabled snapshot False
518518
iniset $TEMPEST_CONFIG compute-feature-enabled suspend False
519+
elif ! is_service_enabled n-cell; then
520+
# cells v1 does not support swapping volumes
521+
iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume True
519522
fi
520-
iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume True
521523
fi
522524

523525
# ``service_available``

0 commit comments

Comments
 (0)