mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
This commit is contained in:
parent
c290bf6cd0
commit
d251bafbd4
@ -25,6 +25,8 @@ from marvin.integration.lib.base import *
|
|||||||
from marvin.integration.lib.common import *
|
from marvin.integration.lib.common import *
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Disk offerings Services
|
"""Test Disk offerings Services
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -28,6 +28,8 @@ from nose.plugins.attrib import attr
|
|||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Hosts & Clusters Services
|
"""Test Hosts & Clusters Services
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -29,6 +29,7 @@ from random import random
|
|||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test ISO Services
|
"""Test ISO Services
|
||||||
|
|||||||
@ -28,6 +28,7 @@ from nose.plugins.attrib import attr
|
|||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Network Services
|
"""Test Network Services
|
||||||
|
|||||||
@ -27,6 +27,7 @@ from nose.plugins.attrib import attr
|
|||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Primary storage Services
|
"""Test Primary storage Services
|
||||||
|
|||||||
@ -29,6 +29,7 @@ from nose.plugins.attrib import attr
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
class Services:
|
class Services:
|
||||||
"""Test router Services
|
"""Test router Services
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -27,6 +27,7 @@ from nose.plugins.attrib import attr
|
|||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class TestSecStorageServices(cloudstackTestCase):
|
class TestSecStorageServices(cloudstackTestCase):
|
||||||
|
|
||||||
|
|||||||
@ -26,6 +26,7 @@ from marvin.integration.lib.common import *
|
|||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Service offerings Services
|
"""Test Service offerings Services
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -29,6 +29,7 @@ import telnetlib
|
|||||||
|
|
||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test SSVM Services
|
"""Test SSVM Services
|
||||||
|
|||||||
@ -30,6 +30,7 @@ from random import random
|
|||||||
#Import System modules
|
#Import System modules
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Templates Services
|
"""Test Templates Services
|
||||||
|
|||||||
@ -28,6 +28,7 @@ from nose.plugins.attrib import attr
|
|||||||
#Import System modules
|
#Import System modules
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
class Services:
|
class Services:
|
||||||
"""Test VM Life Cycle Services
|
"""Test VM Life Cycle Services
|
||||||
"""
|
"""
|
||||||
|
|||||||
@ -31,6 +31,7 @@ import urllib
|
|||||||
import time
|
import time
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
_multiprocess_shared = True
|
||||||
|
|
||||||
class Services:
|
class Services:
|
||||||
"""Test Volume Services
|
"""Test Volume Services
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user