Skip to content

Commit d2ed5fb

Browse files
Gaurav AradhyeSrikanteswaraRao Talluri
authored andcommitted
CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
1 parent c9d492d commit d2ed5fb

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎test/integration/component/test_ss_domain_limits.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def setupAccounts(self):
148148
return [FAIL, e, None]
149149
return [PASS, None, users]
150150

151-
@attr(tags=["advanced"], required_hardware="false")
151+
@attr(tags=["advanced"], required_hardware="true")
152152
def test_01_multiple_domains_secondary_storage_limits(self):
153153
"""Test secondary storage limit of domain and its sub-domains
154154
@@ -261,7 +261,7 @@ def test_01_multiple_domains_secondary_storage_limits(self):
261261
self.assertTrue(result[2], "Resource count does not match")
262262
return
263263

264-
@attr(tags=["advanced"], required_hardware="false")
264+
@attr(tags=["advanced"], required_hardware="true")
265265
def test_02_multiple_domains_secondary_storage_counts(self):
266266
"""Test secondary storage counts in multiple child domains
267267
# Steps
@@ -325,7 +325,7 @@ def test_02_multiple_domains_secondary_storage_counts(self):
325325
self.fail("Failed to get zone list: %s" % e)
326326
return
327327

328-
@attr(tags=["advanced"], required_hardware="false")
328+
@attr(tags=["advanced"], required_hardware="true")
329329
def test_03_copy_template(self):
330330
"""Test secondary storage counts in multiple child domains
331331
# Steps
@@ -485,7 +485,7 @@ def setupAccounts(self):
485485
return [FAIL, e, None]
486486
return [PASS, None, users]
487487

488-
@attr(tags=["advanced"], required_hardware="false")
488+
@attr(tags=["advanced"], required_hardware="true")
489489
def test_04_create_template_delete_account(self):
490490
"""Test secondary storage limit of domain and its sub-domains
491491

‎test/integration/component/test_ss_limits.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def setupAccount(self, accountType):
128128
return [PASS, None]
129129

130130
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
131-
@attr(tags = ["advanced"], required_hardware="false")
131+
@attr(tags = ["advanced"], required_hardware="true")
132132
def test_01_register_template(self, value):
133133
"""Test register template
134134
# Validate the following:
@@ -189,7 +189,7 @@ def test_01_register_template(self, value):
189189
return
190190

191191
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
192-
@attr(tags=["advanced"], required_hardware="false")
192+
@attr(tags=["advanced"], required_hardware="true")
193193
def test_02_create_template_snapshot(self, value):
194194
"""Test create snapshot and templates from volume
195195
@@ -248,7 +248,7 @@ def test_02_create_template_snapshot(self, value):
248248
return
249249

250250
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
251-
@attr(tags = ["advanced"], required_hardware="false")
251+
@attr(tags = ["advanced"], required_hardware="true")
252252
def test_03_register_iso(self, value):
253253
"""Test register iso
254254
Steps and validations:
@@ -310,7 +310,7 @@ def test_03_register_iso(self, value):
310310
return
311311

312312
@data(ROOT_DOMAIN_ADMIN, CHILD_DOMAIN_ADMIN)
313-
@attr(tags = ["advanced"], required_hardware="false")
313+
@attr(tags = ["advanced"], required_hardware="true")
314314
def test_04_copy_template(self, value):
315315
"""Test copy template between zones
316316

‎test/integration/component/test_ss_max_limits.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def updateSecondaryStorageLimits(self, accountLimit=None, domainLimit=None, proj
170170
return [FAIL, e]
171171
return [PASS, None]
172172

173-
@attr(tags=["advanced"], required_hardware="false")
173+
@attr(tags=["advanced"], required_hardware="true")
174174
def test_01_deploy_vm_domain_limit_reached(self):
175175
"""Test Try to deploy VM with admin account where account has not used
176176
the resources but @ domain they are not available
@@ -207,7 +207,7 @@ def test_01_deploy_vm_domain_limit_reached(self):
207207
template.delete(self.userapiclient)
208208
return
209209

210-
@attr(tags=["advanced"], required_hardware="false")
210+
@attr(tags=["advanced"], required_hardware="true")
211211
def test_02_deploy_vm_account_limit_reached(self):
212212
"""Test Try to deploy VM with admin account where account has used
213213
the resources but @ domain they are available
@@ -244,7 +244,7 @@ def test_02_deploy_vm_account_limit_reached(self):
244244
template.delete(self.userapiclient)
245245
return
246246

247-
@attr(tags=["advanced"], required_hardware="false")
247+
@attr(tags=["advanced"], required_hardware="true")
248248
def test_03_deploy_vm_project_limit_reached(self):
249249
"""Test TTry to deploy VM with admin account where account has not used
250250
the resources but @ project they are not available

‎test/integration/component/test_ss_project_limits.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def setupProjectAccounts(self):
129129
return [FAIL, e]
130130
return [PASS, None]
131131

132-
@attr(tags=["advanced"], required_hardware="false")
132+
@attr(tags=["advanced"], required_hardware="true")
133133
def test_01_register_template_with_project(self):
134134
"""Test register template
135135
# Validate the following:
@@ -194,7 +194,7 @@ def test_01_register_template_with_project(self):
194194
self.assertEqual(response[0], PASS, response[1])
195195
return
196196

197-
@attr(tags = ["advanced"], required_hardware="false")
197+
@attr(tags = ["advanced"], required_hardware="true")
198198
def test_02_register_iso(self):
199199
"""Test register iso
200200
Steps and validations:

0 commit comments

Comments
 (0)