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:
Prasanna Santhanam 2012-11-09 18:29:25 +05:30
parent c290bf6cd0
commit d251bafbd4
12 changed files with 14 additions and 0 deletions

View File

@ -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
""" """

View File

@ -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
""" """

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
""" """

View File

@ -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):

View File

@ -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
""" """

View File

@ -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

View File

@ -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

View File

@ -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
""" """

View File

@ -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