mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
c9d492d714
commit
d2ed5fb9a3
@ -148,7 +148,7 @@ class TestMultipleChildDomain(cloudstackTestCase):
|
||||
return [FAIL, e, None]
|
||||
return [PASS, None, users]
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_01_multiple_domains_secondary_storage_limits(self):
|
||||
"""Test secondary storage limit of domain and its sub-domains
|
||||
|
||||
@ -261,7 +261,7 @@ class TestMultipleChildDomain(cloudstackTestCase):
|
||||
self.assertTrue(result[2], "Resource count does not match")
|
||||
return
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_02_multiple_domains_secondary_storage_counts(self):
|
||||
"""Test secondary storage counts in multiple child domains
|
||||
# Steps
|
||||
@ -325,7 +325,7 @@ class TestMultipleChildDomain(cloudstackTestCase):
|
||||
self.fail("Failed to get zone list: %s" % e)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_03_copy_template(self):
|
||||
"""Test secondary storage counts in multiple child domains
|
||||
# Steps
|
||||
@ -485,7 +485,7 @@ class TestDeleteAccount(cloudstackTestCase):
|
||||
return [FAIL, e, None]
|
||||
return [PASS, None, users]
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_04_create_template_delete_account(self):
|
||||
"""Test secondary storage limit of domain and its sub-domains
|
||||
|
||||
|
||||
@ -128,7 +128,7 @@ class TestSecondaryStorageLimits(cloudstackTestCase):
|
||||
return [PASS, None]
|
||||
|
||||
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
|
||||
@attr(tags = ["advanced"], required_hardware="false")
|
||||
@attr(tags = ["advanced"], required_hardware="true")
|
||||
def test_01_register_template(self, value):
|
||||
"""Test register template
|
||||
# Validate the following:
|
||||
@ -189,7 +189,7 @@ class TestSecondaryStorageLimits(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_02_create_template_snapshot(self, value):
|
||||
"""Test create snapshot and templates from volume
|
||||
|
||||
@ -248,7 +248,7 @@ class TestSecondaryStorageLimits(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
|
||||
@attr(tags = ["advanced"], required_hardware="false")
|
||||
@attr(tags = ["advanced"], required_hardware="true")
|
||||
def test_03_register_iso(self, value):
|
||||
"""Test register iso
|
||||
Steps and validations:
|
||||
@ -310,7 +310,7 @@ class TestSecondaryStorageLimits(cloudstackTestCase):
|
||||
return
|
||||
|
||||
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
|
||||
@attr(tags = ["advanced"], required_hardware="false")
|
||||
@attr(tags = ["advanced"], required_hardware="true")
|
||||
def test_04_copy_template(self, value):
|
||||
"""Test copy template between zones
|
||||
|
||||
|
||||
@ -170,7 +170,7 @@ class TestMaxSecondaryStorageLimits(cloudstackTestCase):
|
||||
return [FAIL, e]
|
||||
return [PASS, None]
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_01_deploy_vm_domain_limit_reached(self):
|
||||
"""Test Try to deploy VM with admin account where account has not used
|
||||
the resources but @ domain they are not available
|
||||
@ -207,7 +207,7 @@ class TestMaxSecondaryStorageLimits(cloudstackTestCase):
|
||||
template.delete(self.userapiclient)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_02_deploy_vm_account_limit_reached(self):
|
||||
"""Test Try to deploy VM with admin account where account has used
|
||||
the resources but @ domain they are available
|
||||
@ -244,7 +244,7 @@ class TestMaxSecondaryStorageLimits(cloudstackTestCase):
|
||||
template.delete(self.userapiclient)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_03_deploy_vm_project_limit_reached(self):
|
||||
"""Test TTry to deploy VM with admin account where account has not used
|
||||
the resources but @ project they are not available
|
||||
|
||||
@ -129,7 +129,7 @@ class TestProjectsVolumeLimits(cloudstackTestCase):
|
||||
return [FAIL, e]
|
||||
return [PASS, None]
|
||||
|
||||
@attr(tags=["advanced"], required_hardware="false")
|
||||
@attr(tags=["advanced"], required_hardware="true")
|
||||
def test_01_register_template_with_project(self):
|
||||
"""Test register template
|
||||
# Validate the following:
|
||||
@ -194,7 +194,7 @@ class TestProjectsVolumeLimits(cloudstackTestCase):
|
||||
self.assertEqual(response[0], PASS, response[1])
|
||||
return
|
||||
|
||||
@attr(tags = ["advanced"], required_hardware="false")
|
||||
@attr(tags = ["advanced"], required_hardware="true")
|
||||
def test_02_register_iso(self):
|
||||
"""Test register iso
|
||||
Steps and validations:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user