Author: ron.sigal(a)jboss.com
Date: 2009-04-12 23:47:59 -0400 (Sun, 12 Apr 2009)
New Revision: 4978
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java
Log:
JBREM-1109: Reduced number of threads to 1000 to avoid "java.lang.OutOfMemoryError:
unable to create new native thread".
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java 2009-04-13
01:49:38 UTC (rev 4977)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java 2009-04-13
03:47:59 UTC (rev 4978)
@@ -111,7 +111,7 @@
// Test datatype race.
MicroRemoteClientInvoker clientInvoker = (MicroRemoteClientInvoker)
client.getInvoker();
- int THREADS = 2000;
+ int THREADS = 1000;
TestThread[] threads = new TestThread[THREADS];
Rendezvous startBarrier = new Rendezvous(THREADS);
Rendezvous stopBarrier = new Rendezvous(THREADS + 1);