Fix Tempest Volume Revert test
When we stopped using magic strings for the microversions in Cinder on
change we broke the Volume
Revert Tempest test because we started sending requests to do the revert
with API microversion 3.0 and the minimum version is 3.40.
This patch fixes it.
Closes-bug:
@@ -18,12 +18,14 @@ from tempest.common import waiters
from tempest import config
from tempest.lib import decorators
+from cinder.api import microversions
from cinder.tests.tempest import cinder_clients
CONF = config.CONF
class VolumeRevertTests(volume_base.BaseVolumeTest):
+ min_microversion = microversions.VOLUME_REVERT
@classmethod
def setup_clients(cls):
