You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/11/09 14:05:13 UTC

git commit: Summary: tests can be driven parallely per module

Updated Branches:
  refs/heads/master c290bf6cd -> d251bafbd


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 <ts...@apache.org> 1352465966 +0530


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d251bafb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d251bafb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d251bafb

Branch: refs/heads/master
Commit: d251bafbd4cab1d1c20ea73b775aca9bb7d11d5c
Parents: c290bf6
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Fri Nov 9 18:29:25 2012 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Fri Nov 9 18:29:25 2012 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_disk_offerings.py    |    2 ++
 test/integration/smoke/test_hosts.py             |    2 ++
 test/integration/smoke/test_iso.py               |    1 +
 test/integration/smoke/test_network.py           |    1 +
 test/integration/smoke/test_primary_storage.py   |    1 +
 test/integration/smoke/test_routers.py           |    1 +
 test/integration/smoke/test_secondary_storage.py |    1 +
 test/integration/smoke/test_service_offerings.py |    1 +
 test/integration/smoke/test_ssvm.py              |    1 +
 test/integration/smoke/test_templates.py         |    1 +
 test/integration/smoke/test_vm_life_cycle.py     |    1 +
 test/integration/smoke/test_volumes.py           |    1 +
 12 files changed, 14 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_disk_offerings.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_disk_offerings.py b/test/integration/smoke/test_disk_offerings.py
index ce77b9a..3a32bc2 100644
--- a/test/integration/smoke/test_disk_offerings.py
+++ b/test/integration/smoke/test_disk_offerings.py
@@ -25,6 +25,8 @@ from marvin.integration.lib.base import *
 from marvin.integration.lib.common import *
 from nose.plugins.attrib import attr
 
+_multiprocess_shared = True
+
 class Services:
     """Test Disk offerings Services
     """

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_hosts.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_hosts.py b/test/integration/smoke/test_hosts.py
index cedf43c..acf1b58 100644
--- a/test/integration/smoke/test_hosts.py
+++ b/test/integration/smoke/test_hosts.py
@@ -28,6 +28,8 @@ from nose.plugins.attrib import attr
 #Import System modules
 import time
 
+_multiprocess_shared = True
+
 class Services:
     """Test Hosts & Clusters Services
     """

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_iso.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_iso.py b/test/integration/smoke/test_iso.py
index 7ed2c1b..92930b9 100644
--- a/test/integration/smoke/test_iso.py
+++ b/test/integration/smoke/test_iso.py
@@ -29,6 +29,7 @@ from random import random
 #Import System modules
 import time
 
+_multiprocess_shared = True
 
 class Services:
     """Test ISO Services

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_network.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_network.py b/test/integration/smoke/test_network.py
index c1277f5..9e8a714 100644
--- a/test/integration/smoke/test_network.py
+++ b/test/integration/smoke/test_network.py
@@ -28,6 +28,7 @@ from nose.plugins.attrib import attr
 #Import System modules
 import time
 
+_multiprocess_shared = True
 
 class Services:
     """Test Network Services

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_primary_storage.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_primary_storage.py b/test/integration/smoke/test_primary_storage.py
index 7daf3ca..4d018d2 100644
--- a/test/integration/smoke/test_primary_storage.py
+++ b/test/integration/smoke/test_primary_storage.py
@@ -27,6 +27,7 @@ from nose.plugins.attrib import attr
 
 #Import System modules
 import time
+_multiprocess_shared = True
 
 class Services:
     """Test Primary storage Services

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_routers.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_routers.py b/test/integration/smoke/test_routers.py
index 346ba61..0f5e6a6 100644
--- a/test/integration/smoke/test_routers.py
+++ b/test/integration/smoke/test_routers.py
@@ -29,6 +29,7 @@ from nose.plugins.attrib import attr
 import time
 
 
+_multiprocess_shared = True
 class Services:
     """Test router Services
     """

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_secondary_storage.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_secondary_storage.py b/test/integration/smoke/test_secondary_storage.py
index 80b7bfb..1496cd1 100644
--- a/test/integration/smoke/test_secondary_storage.py
+++ b/test/integration/smoke/test_secondary_storage.py
@@ -27,6 +27,7 @@ from nose.plugins.attrib import attr
 
 #Import System modules
 import time
+_multiprocess_shared = True
 
 class TestSecStorageServices(cloudstackTestCase):
 

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_service_offerings.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_service_offerings.py b/test/integration/smoke/test_service_offerings.py
index a4188b6..9cfb057 100644
--- a/test/integration/smoke/test_service_offerings.py
+++ b/test/integration/smoke/test_service_offerings.py
@@ -26,6 +26,7 @@ from marvin.integration.lib.common import *
 from nose.plugins.attrib import attr
 
 
+_multiprocess_shared = True
 class Services:
     """Test Service offerings Services
     """

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_ssvm.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_ssvm.py b/test/integration/smoke/test_ssvm.py
index e864463..6f6b571 100644
--- a/test/integration/smoke/test_ssvm.py
+++ b/test/integration/smoke/test_ssvm.py
@@ -29,6 +29,7 @@ import telnetlib
 
 #Import System modules
 import time
+_multiprocess_shared = True
 
 class Services:
     """Test SSVM Services

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_templates.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_templates.py b/test/integration/smoke/test_templates.py
index 62b9237..de1c203 100644
--- a/test/integration/smoke/test_templates.py
+++ b/test/integration/smoke/test_templates.py
@@ -30,6 +30,7 @@ from random import random
 #Import System modules
 import datetime
 
+_multiprocess_shared = True
 
 class Services:
     """Test Templates Services

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_vm_life_cycle.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_vm_life_cycle.py b/test/integration/smoke/test_vm_life_cycle.py
index 15ffb26..74a3cc9 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -28,6 +28,7 @@ from nose.plugins.attrib import attr
 #Import System modules
 import time
 
+_multiprocess_shared = True
 class Services:
     """Test VM Life Cycle Services
     """

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d251bafb/test/integration/smoke/test_volumes.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_volumes.py b/test/integration/smoke/test_volumes.py
index 1707187..73766db 100644
--- a/test/integration/smoke/test_volumes.py
+++ b/test/integration/smoke/test_volumes.py
@@ -31,6 +31,7 @@ import urllib
 import time
 import tempfile
 
+_multiprocess_shared = True
 
 class Services:
     """Test Volume Services