Changing the number of threads in the test from 1000 to 750. 1000 will more 
often than not result in build failures due to constraints on the build systems.

Most recent centos based systems have process limit of 1024. Running this test 
will result in an OutOfMemory exception with description unable to create 
native thread.


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

Branch: refs/heads/cisco-vnmc-api-integration
Commit: d9f7bb2854c812516caca4985a846e30258a8f7b
Parents: a85b498
Author: Hugo Trippaers <[email protected]>
Authored: Sun Apr 7 12:08:30 2013 +0200
Committer: Hugo Trippaers <[email protected]>
Committed: Sun Apr 7 12:17:53 2013 +0200

----------------------------------------------------------------------
 .../network/security/SecurityGroupQueueTest.java   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d9f7bb28/server/test/com/cloud/network/security/SecurityGroupQueueTest.java
----------------------------------------------------------------------
diff --git a/server/test/com/cloud/network/security/SecurityGroupQueueTest.java 
b/server/test/com/cloud/network/security/SecurityGroupQueueTest.java
index b9e4176..e623785 100644
--- a/server/test/com/cloud/network/security/SecurityGroupQueueTest.java
+++ b/server/test/com/cloud/network/security/SecurityGroupQueueTest.java
@@ -139,7 +139,7 @@ public class SecurityGroupQueueTest extends TestCase {
         testNumJobsEqToNumVms2(400,5000);
         testNumJobsEqToNumVms2(1,1);
         testNumJobsEqToNumVms2(1,1000000);
-        testNumJobsEqToNumVms2(1000,1);
+        testNumJobsEqToNumVms2(750,1);
 
     }
     

Reply via email to