Skip to content

Commit cef2ad1

Browse files
author
Prasanna Santhanam
committed
Adding more classifications
- maintenance (host goes to maitnenance) - multihost, multizone, multistorage
1 parent 97b7873 commit cef2ad1

18 files changed

Lines changed: 161 additions & 1413 deletions

‎test/integration/component/test_accounts.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from integration.lib.base import *
2424
from integration.lib.common import *
2525
from marvin.remoteSSHClient import remoteSSHClient
26+
from nose.plugins.attrib import attr
2627
import datetime
2728

2829

@@ -42,7 +43,7 @@ def __init__(self):
4243
"username": "test",
4344
# Random characters are appended for unique
4445
# username
45-
"password": "fr3sca",
46+
"password": "password",
4647
},
4748
"user": {
4849
"email": "user@test.com",
@@ -51,7 +52,7 @@ def __init__(self):
5152
"username": "User",
5253
# Random characters are appended for unique
5354
# username
54-
"password": "fr3sca",
55+
"password": "password",
5556
},
5657
"service_offering": {
5758
"name": "Tiny Instance",
@@ -75,15 +76,15 @@ def __init__(self):
7576
"template": {
7677
"displaytext": "Public Template",
7778
"name": "Public template",
78-
"ostypeid": 'aaf6e8c9-b609-441d-9ebd-b4eaa030a275',
79+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
7980
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
8081
"hypervisor": 'XenServer',
8182
"format": 'VHD',
8283
"isfeatured": True,
8384
"ispublic": True,
8485
"isextractable": True,
8586
},
86-
"ostypeid": 'aaf6e8c9-b609-441d-9ebd-b4eaa030a275',
87+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
8788
# Cent OS 5.3 (64 bit)
8889
"sleep": 60,
8990
"timeout": 10,

‎test/integration/component/test_blocker_bugs.py‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
""" Tests for Blocker bugs
1818
"""
1919
import marvin
20+
from nose.plugins.attrib import attr
2021
from integration.lib.base import *
2122
from integration.lib.utils import *
2223
from integration.lib.common import *
@@ -43,7 +44,7 @@ def __init__(self):
4344
"username": "test",
4445
# Random characters are appended for unique
4546
# username
46-
"password": "fr3sca",
47+
"password": "password",
4748
},
4849
"service_offering": {
4950
"name": "Tiny Instance",
@@ -75,7 +76,7 @@ def __init__(self):
7576
"templates": {
7677
"displaytext": 'Template from snapshot',
7778
"name": 'Template from snapshot',
78-
"ostypeid": '144f66aa-7f74-4cfe-9799-80cc21439cb3',
79+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
7980
"templatefilter": 'self',
8081
"url": "http://download.cloud.com/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
8182
"hypervisor": 'XenServer',
@@ -97,7 +98,7 @@ def __init__(self):
9798
"endport": 22,
9899
"protocol": "TCP"
99100
},
100-
"ostypeid": '144f66aa-7f74-4cfe-9799-80cc21439cb3',
101+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
101102
# Cent OS 5.3 (64 bit)
102103
"sleep": 60,
103104
"mode": 'advanced',
@@ -1071,6 +1072,7 @@ def tearDown(self):
10711072

10721073
return
10731074

1075+
@attr(speed = "slow")
10741076
@attr(tags = ["advanced", "advancedns", "basic", "sg", "eip"])
10751077
def test_01_check_template_size(self):
10761078
"""TS_BUG_009-Test the size of template created from root disk
@@ -1098,6 +1100,7 @@ def test_01_check_template_size(self):
10981100
)
10991101
return
11001102

1103+
@attr(speed = "slow")
11011104
@attr(tags = ["advanced", "advancedns", "basic", "sg", "eip"])
11021105
def test_02_check_size_snapshotTemplate(self):
11031106
"""TS_BUG_010-Test check size of snapshot and template
@@ -1178,6 +1181,7 @@ def test_02_check_size_snapshotTemplate(self):
11781181
)
11791182
return
11801183

1184+
@attr(speed = "slow")
11811185
@attr(tags = ["advanced", "advancedns", "basic", "sg", "eip"])
11821186
def test_03_resuse_template_name(self):
11831187
"""TS_BUG_011-Test Reusing deleted template name

‎test/integration/component/test_egress_rules.py‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"""
2020
#Import Local Modules
2121
import marvin
22+
from nose.plugins.attrib import attr
2223
from marvin.cloudstackTestCase import *
2324
from marvin.cloudstackAPI import *
2425
from marvin.remoteSSHClient import remoteSSHClient
@@ -49,7 +50,7 @@ def __init__(self):
4950
"username": "test",
5051
# Random characters are appended in create account to
5152
# ensure unique username generated each time
52-
"password": "fr3sca",
53+
"password": "password",
5354
},
5455
"virtual_machine": {
5556
# Create a small virtual machine instance with disk offering
@@ -114,10 +115,10 @@ def __init__(self):
114115
},
115116
"mgmt_server": {
116117
"username": "root",
117-
"password": "fr3sca",
118+
"password": "password",
118119
"ipaddress": "192.168.100.21"
119120
},
120-
"ostypeid": '85cb528f-72ed-4df9-ac6a-f6ccf0892ff2',
121+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
121122
# CentOS 5.3 (64-bit)
122123
"sleep": 60,
123124
"timeout": 10,
@@ -2222,7 +2223,8 @@ def tearDownClass(cls):
22222223

22232224
return
22242225

2225-
@attr(tags = ["sg", "eip"])
2226+
@attr(speed = "slow")
2227+
@attr(tags = ["sg", "eip", "maintenance"])
22262228
def test_egress_after_host_maintainance(self):
22272229
"""Test maintenance case for egress
22282230
"""

‎test/integration/component/test_eip_elb.py‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"""
2020
#Import Local Modules
2121
import marvin
22+
from nose.plugins.attrib import attr
2223
from marvin.cloudstackTestCase import *
2324
from marvin.cloudstackAPI import *
2425
from integration.lib.utils import *
@@ -80,7 +81,7 @@ def __init__(self):
8081
"username": 'nsroot',
8182
"password": 'nsroot'
8283
},
83-
"ostypeid": '593341d7-879b-451e-804c-0c01bdea10c1',
84+
"ostypeid": '01853327-513e-4508-9628-f1f55db1946f',
8485
# Cent OS 5.3 (64 bit)
8586
"sleep": 60,
8687
"timeout": 10,
@@ -182,7 +183,7 @@ def tearDown(self):
182183

183184

184185
@attr(tags = ["eip"])
185-
@unittest.skip("skipped")
186+
@unittest.skip("skipped - Framework DB Exception")
186187
def test_01_eip_by_deploying_instance(self):
187188
"""Test EIP by deploying an instance
188189
"""
@@ -350,7 +351,7 @@ def test_01_eip_by_deploying_instance(self):
350351
return
351352

352353
@attr(tags = ["eip"])
353-
@unittest.skip("skipped")
354+
@unittest.skip("skipped - Framework DB Exception")
354355
def test_02_acquire_ip_enable_static_nat(self):
355356
"""Test associate new IP and enable static NAT for new IP and the VM
356357
"""
@@ -495,7 +496,7 @@ def test_02_acquire_ip_enable_static_nat(self):
495496
return
496497

497498
@attr(tags = ["eip"])
498-
@unittest.skip("skipped")
499+
@unittest.skip("skipped - Framework DB Exception")
499500
def test_03_disable_static_nat(self):
500501
"""Test disable static NAT and release EIP acquired
501502
"""
@@ -695,7 +696,7 @@ def test_03_disable_static_nat(self):
695696
return
696697

697698
@attr(tags = ["eip"])
698-
@unittest.skip("skipped")
699+
@unittest.skip("skipped - Framework DB Exception")
699700
def test_04_disable_static_nat_system(self):
700701
"""Test disable static NAT with system = True
701702
"""
@@ -765,7 +766,7 @@ def test_04_disable_static_nat_system(self):
765766
return
766767

767768
@attr(tags = ["eip"])
768-
@unittest.skip("skipped")
769+
@unittest.skip("skipped - Framework DB Exception")
769770
def test_05_destroy_instance(self):
770771
"""Test EIO after destroying instance
771772
"""

0 commit comments

Comments
 (0)