Enable Tempest tests for glusterfs/hdfs protocols

Currently, Manila Tempest test cases support only testing of shares of
type nfs or cifs protocol. Allow testing of shares that use glusterfs
protocol or hdfs protocol.

Closes-Bug: #1485987

Change-Id: Ie7b1e9638ad2afaf8388cb4d7cda8d04e89a3c0a
This commit is contained in:
Ramana Raja 2015-08-17 23:22:24 +05:30
parent 4f7a95c403
commit ab4124cc38
3 changed files with 19 additions and 1 deletions

View File

@ -153,3 +153,11 @@ class ManageNFSShareTest(base.BaseSharesAdminTest):
class ManageCIFSShareTest(ManageNFSShareTest):
protocol = 'cifs'
class ManageGLUSTERFSShareTest(ManageNFSShareTest):
protocol = 'glusterfs'
class ManageHDFSShareTest(ManageNFSShareTest):
protocol = 'hdfs'

View File

@ -81,7 +81,7 @@ class BaseSharesTest(test.BaseTestCase):
"""Base test case class for all Manila API tests."""
force_tenant_isolation = False
protocols = ["nfs", "cifs"]
protocols = ["nfs", "cifs", "glusterfs", "hdfs"]
# Will be cleaned up in resource_cleanup
class_resources = []

View File

@ -138,3 +138,13 @@ class SharesNFSTest(base.BaseSharesTest):
class SharesCIFSTest(SharesNFSTest):
"""Covers share functionality, that is related to CIFS share type."""
protocol = "cifs"
class SharesGLUSTERFSTest(SharesNFSTest):
"""Covers share functionality that is related to GLUSTERFS share type."""
protocol = "glusterfs"
class SharesHDFSTest(SharesNFSTest):
"""Covers share functionality that is related to HDFS share type."""
protocol = "hdfs"