Fixes test skips in 7c56035bb6
Tests should be skipped if configured microversion is less than 2.38. Change-Id: I34149ff725f54288cbca0e01bec57673d865b18f
This commit is contained in:
parent
4c91b6e8da
commit
d8039b8fc5
|
@ -133,7 +133,7 @@ class ShareIpRulesForNFSNegativeTest(base.BaseSharesMixedTest):
|
|||
def test_create_duplicate_single_host_rules(self, access_to):
|
||||
"""Test rules for individual clients with and without max-prefix."""
|
||||
if ':' in access_to and utils.is_microversion_lt(
|
||||
'2.38', CONF.share.max_api_microversion):
|
||||
CONF.share.max_api_microversion, '2.38'):
|
||||
reason = ("Skipped. IPv6 rules are accepted from and beyond "
|
||||
"API version 2.38, the configured maximum API version "
|
||||
"is %s" % CONF.share.max_api_microversion)
|
||||
|
|
|
@ -71,7 +71,7 @@ class SnapshotIpRulesForNFSNegativeTest(
|
|||
|
||||
def _test_duplicate_rules(self, access_to):
|
||||
if ':' in access_to and utils.is_microversion_lt(
|
||||
'2.38', CONF.share.max_api_microversion):
|
||||
CONF.share.max_api_microversion, '2.38'):
|
||||
reason = ("Skipped. IPv6 rules are accepted from and beyond "
|
||||
"API version 2.38, the configured maximum API version "
|
||||
"is %s" % CONF.share.max_api_microversion)
|
||||
|
|
Loading…
Reference in New Issue