Skip to content

Commit d251baf

Browse files
author
Prasanna Santhanam
committed
Summary: tests can be driven parallely per module
Detail: multiprocess plugin will drive each module in a seperate process. the test runs will now be speeded up. Signed-off-by: Prasanna Santhanam <tsp@apache.org> 1352465966 +0530
1 parent c290bf6 commit d251baf

12 files changed

Lines changed: 14 additions & 0 deletions

‎test/integration/smoke/test_disk_offerings.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
from marvin.integration.lib.common import *
2626
from nose.plugins.attrib import attr
2727

28+
_multiprocess_shared = True
29+
2830
class Services:
2931
"""Test Disk offerings Services
3032
"""

‎test/integration/smoke/test_hosts.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
#Import System modules
2929
import time
3030

31+
_multiprocess_shared = True
32+
3133
class Services:
3234
"""Test Hosts & Clusters Services
3335
"""

‎test/integration/smoke/test_iso.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#Import System modules
3030
import time
3131

32+
_multiprocess_shared = True
3233

3334
class Services:
3435
"""Test ISO Services

‎test/integration/smoke/test_network.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#Import System modules
2929
import time
3030

31+
_multiprocess_shared = True
3132

3233
class Services:
3334
"""Test Network Services

‎test/integration/smoke/test_primary_storage.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#Import System modules
2929
import time
30+
_multiprocess_shared = True
3031

3132
class Services:
3233
"""Test Primary storage Services

‎test/integration/smoke/test_routers.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import time
3030

3131

32+
_multiprocess_shared = True
3233
class Services:
3334
"""Test router Services
3435
"""

‎test/integration/smoke/test_secondary_storage.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
#Import System modules
2929
import time
30+
_multiprocess_shared = True
3031

3132
class TestSecStorageServices(cloudstackTestCase):
3233

‎test/integration/smoke/test_service_offerings.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from nose.plugins.attrib import attr
2727

2828

29+
_multiprocess_shared = True
2930
class Services:
3031
"""Test Service offerings Services
3132
"""

‎test/integration/smoke/test_ssvm.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#Import System modules
3131
import time
32+
_multiprocess_shared = True
3233

3334
class Services:
3435
"""Test SSVM Services

‎test/integration/smoke/test_templates.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
#Import System modules
3131
import datetime
3232

33+
_multiprocess_shared = True
3334

3435
class Services:
3536
"""Test Templates Services

0 commit comments

Comments
 (0)