Skip access metadata tests at unsupported versions
Recently share access metadata tests were added for microversion 2.45 without the skips needed when they are run on stable branches, where there is no support for that microversion. Add the needed skips. Closes-Bug: #1783334 Change-Id: I26225a591d837350744bfc6ac04624456ee98a21
This commit is contained in:
parent
f0dd7a400b
commit
19c54c3e29
|
@ -25,7 +25,8 @@ from manila_tempest_tests import utils
|
|||
CONF = config.CONF
|
||||
|
||||
|
||||
@base.skip_if_microversion_lt(constants.MIN_SHARE_GROUP_MICROVERSION)
|
||||
@base.skip_if_microversion_lt(
|
||||
constants.MIN_SHARE_ACCESS_METADATA_MICROVERSION)
|
||||
@ddt.ddt
|
||||
class AccessesMetadataNegativeTest(base.BaseSharesTest):
|
||||
|
||||
|
|
|
@ -491,6 +491,7 @@ class ShareRulesTest(base.BaseSharesTest):
|
|||
@ddt.data(*set(
|
||||
['1.0', '2.9', '2.27', '2.28', '2.45', LATEST_MICROVERSION]))
|
||||
def test_list_access_rules(self, version):
|
||||
self.skip_if_microversion_not_supported(version)
|
||||
if (utils.is_microversion_lt(version, '2.13') and
|
||||
CONF.share.enable_cephx_rules_for_protocols):
|
||||
msg = ("API version %s does not support cephx access type, need "
|
||||
|
|
Loading…
Reference in New Issue