From 6039a704a1a5df7253790ffc218017232c0b5908 Mon Sep 17 00:00:00 2001 From: Hugo Trippaers Date: Sun, 7 Apr 2013 12:08:30 +0200 Subject: [PATCH] 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. --- .../test/com/cloud/network/security/SecurityGroupQueueTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/test/com/cloud/network/security/SecurityGroupQueueTest.java b/server/test/com/cloud/network/security/SecurityGroupQueueTest.java index b9e417675e4..e6237850825 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); }