Skip snapshot cloning if there is no capability
Share drivers can support snapshots ('snapshot_support'), but needn't support cloning snapshots into shares ('create_share_from_snapshot'). Tempest tests acknowledge this capability, however, a scenario test is missing an appropriate skip decorator. Change-Id: Ia617d54951988f844a7da857a1c842b794191404
This commit is contained in:
parent
8257d9e9c0
commit
f8894b6f0b
|
@ -243,7 +243,8 @@ class ShareBasicOpsBase(manager.ShareScenarioTest):
|
|||
|
||||
@tc.attr(base.TAG_POSITIVE, base.TAG_BACKEND)
|
||||
@testtools.skipUnless(
|
||||
CONF.share.run_snapshot_tests, "Snapshot tests are disabled.")
|
||||
CONF.share.capability_create_share_from_snapshot_support,
|
||||
"Create share from snapshot tests are disabled.")
|
||||
def test_write_data_to_share_created_from_snapshot(self):
|
||||
# 1 - Create UVM, ok, created
|
||||
instance = self.boot_instance(wait_until="BUILD")
|
||||
|
|
Loading…
Reference in New Issue