Skip to content

Commit 2bd61c3

Browse files
committed
Merge pull request #819 from sanju1010/sg
Tagging tests appropriately to pick them for running on basic zoneAdding additional tag to the list of tags. * pr/819: Tagging tests appropriately to pick them for running on basic zone Signed-off-by: Rajani Karuturi <rajani.karuturi@citrix.com>
2 parents 1234cc1 + 75cf2bd commit 2bd61c3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/integration/component/test_security_groups.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def tearDownClass(cls):
115115

116116
return
117117

118-
@attr(tags=["sg", "eip", "advancedsg"])
118+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
119119
def test_01_deployVM_InDefaultSecurityGroup(self):
120120
"""Test deploy VM in default security group
121121
"""
@@ -193,7 +193,7 @@ def test_01_deployVM_InDefaultSecurityGroup(self):
193193
)
194194
return
195195

196-
@attr(tags=["sg", "eip", "advancedsg"])
196+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
197197
def test_02_listSecurityGroups(self):
198198
"""Test list security groups for admin account
199199
"""
@@ -228,7 +228,7 @@ def test_02_listSecurityGroups(self):
228228
)
229229
return
230230

231-
@attr(tags=["sg", "eip", "advancedsg"])
231+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
232232
def test_03_accessInDefaultSecurityGroup(self):
233233
"""Test access in default security group
234234
"""
@@ -389,7 +389,7 @@ def tearDownClass(cls):
389389

390390
return
391391

392-
@attr(tags=["sg", "eip", "advancedsg"])
392+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
393393
def test_01_authorizeIngressRule(self):
394394
"""Test authorize ingress rule
395395
"""
@@ -535,7 +535,7 @@ def revokeSGRule(self, sgid):
535535
self.apiclient.revokeSecurityGroupIngress(cmd)
536536
return
537537

538-
@attr(tags=["sg", "eip", "advancedsg"])
538+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
539539
def test_01_revokeIngressRule(self):
540540
"""Test revoke ingress rule
541541
"""
@@ -717,7 +717,7 @@ def tearDownClass(cls):
717717

718718
return
719719

720-
@attr(tags=["sg", "eip", "basic"], required_hardware="true")
720+
@attr(tags=["sg", "basic", "eip", "basic"], required_hardware="true")
721721
def test_01_dhcpOnlyRouter(self):
722722
"""Test router services for user account
723723
"""
@@ -851,7 +851,7 @@ def tearDownClass(cls):
851851

852852
return
853853

854-
@attr(tags=["sg", "eip", "advancedsg"])
854+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
855855
def test_01_deployVMWithUserData(self):
856856
"""Test Deploy VM with User data"""
857857

@@ -1029,7 +1029,7 @@ def tearDownClass(cls):
10291029

10301030
return
10311031

1032-
@attr(tags=["sg", "eip", "advancedsg"])
1032+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
10331033
def test_01_delete_security_grp_running_vm(self):
10341034
"""Test delete security group with running VM"""
10351035

@@ -1113,7 +1113,7 @@ def test_01_delete_security_grp_running_vm(self):
11131113
)
11141114
return
11151115

1116-
@attr(tags=["sg", "eip", "advancedsg"])
1116+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
11171117
def test_02_delete_security_grp_withoout_running_vm(self):
11181118
"""Test delete security group without running VM"""
11191119

@@ -1260,7 +1260,7 @@ def tearDownClass(cls):
12601260

12611261
return
12621262

1263-
@attr(tags=["sg", "eip", "advancedsg"])
1263+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
12641264
def test_01_authorizeIngressRule_AfterDeployVM(self):
12651265
"""Test delete security group with running VM"""
12661266

@@ -1377,7 +1377,7 @@ def test_01_authorizeIngressRule_AfterDeployVM(self):
13771377
% (ingress_rule_2["id"], e))
13781378
return
13791379

1380-
@attr(tags=["sg", "eip", "advancedsg"])
1380+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
13811381
def test_02_revokeIngressRule_AfterDeployVM(self):
13821382
"""Test Revoke ingress rule after deploy VM"""
13831383

@@ -1549,7 +1549,7 @@ def test_02_revokeIngressRule_AfterDeployVM(self):
15491549
% (icmp_rule["ruleid"], e))
15501550
return
15511551

1552-
@attr(tags=["sg", "eip", "advancedsg"])
1552+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
15531553
def test_03_stopStartVM_verifyIngressAccess(self):
15541554
"""Test Start/Stop VM and Verify ingress rule"""
15551555

@@ -1791,7 +1791,7 @@ def revokeSGRule(self, sgid):
17911791
self.apiclient.revokeSecurityGroupIngress(cmd)
17921792
return
17931793

1794-
@attr(tags=["sg", "eip", "advancedsg"])
1794+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
17951795
def test_ingress_rules_specific_IP_set(self):
17961796
"""Test ingress rules for specific IP set
17971797
@@ -1983,7 +1983,7 @@ def test_ingress_rules_specific_IP_set(self):
19831983
self.mgtSvrDetails["mgtSvrIp"]))
19841984
return
19851985

1986-
@attr(tags=["sg", "eip", "advancedsg"])
1986+
@attr(tags=["sg", "basic", "eip", "advancedsg"])
19871987
def test_ingress_rules_specific_IP_set_non_def_sec_group(self):
19881988
"""Test ingress rules for specific IP set and non default security group
19891989

0 commit comments

Comments
 (0)