Fix share instance show related tests..
Share instance show query need additional key 'updated_at'. Related-Bug: #1965122 Depends-On: Ia69f3615d82e0044e3e9f81556dc8355637ef146 Change-Id: I1dbeee78c864067b8618b76a2929a112bef148e1
This commit is contained in:
parent
5203643c24
commit
ee15891b5d
@ -40,7 +40,7 @@ ShareGroup = [
|
||||
"This value is only used to validate the versions "
|
||||
"response from Manila."),
|
||||
cfg.StrOpt("max_api_microversion",
|
||||
default="2.70",
|
||||
default="2.71",
|
||||
help="The maximum api microversion is configured to be the "
|
||||
"value of the latest microversion supported by Manila."),
|
||||
cfg.StrOpt("region",
|
||||
|
@ -95,6 +95,8 @@ class ShareInstancesTest(base.BaseSharesAdminTest):
|
||||
expected_keys.append("cast_rules_to_readonly")
|
||||
if utils.is_microversion_ge(version, '2.54'):
|
||||
expected_keys.append("progress")
|
||||
if utils.is_microversion_ge(version, '2.71'):
|
||||
expected_keys.append("updated_at")
|
||||
expected_keys = sorted(expected_keys)
|
||||
actual_keys = sorted(si.keys())
|
||||
self.assertEqual(expected_keys, actual_keys,
|
||||
|
Loading…
Reference in New Issue
Block a user