Create a generic share type (api tests)
Tempest assumes a default share type already created
to work. This means, if a default share type is not
created and not specified in the conf file, tempest
tests fail. A workaround is to create a share type
as part of the environment setup for all the tests
that need it. This patch set does that.
Change-Id: I15880e400df30918762ebd7304244b4a27200168
Closes-Bug: #1743472
diff --git a/manila_tempest_tests/utils.py b/manila_tempest_tests/utils.py
index 3598ec7..9f08cac 100644
--- a/manila_tempest_tests/utils.py
+++ b/manila_tempest_tests/utils.py
@@ -164,5 +164,7 @@
CONF.share.multitenancy_enabled)
extra_specs['snapshot_support'] = (
CONF.share.capability_snapshot_support)
+ extra_specs['create_share_from_snapshot_support'] = (
+ CONF.share.capability_create_share_from_snapshot_support)
return extra_specs