[jboss-cvs] JBossAS SVN: r68077 - trunk/testsuite/src/main/org/jboss/test/security/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sun Dec 9 05:42:38 EST 2007
Author: scott.stark at jboss.org
Date: 2007-12-09 05:42:37 -0500 (Sun, 09 Dec 2007)
New Revision: 68077
Modified:
trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
Log:
Restrict iterationcount to 10 for now until the perf issue is sorted out
Modified: trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java 2007-12-09 10:05:50 UTC (rev 68076)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/EJBSpecUnitTestCase.java 2007-12-09 10:42:37 UTC (rev 68077)
@@ -794,11 +794,13 @@
{
//fail("FIXME");
log.debug("+++ testStress");
- int count = Integer.getInteger("jbosstest.threadcount", 10).intValue();
- int iterations = Integer.getInteger("jbosstest.iterationcount", 150).intValue();
- // Use a minimum of 100 iterations
+ int count = Integer.getInteger("jbosstest.threadcount", 2).intValue();
+ int iterations = 10;
+ /* FIXME, Use a minimum of 100 iterations
+ iterations = Integer.getInteger("jbosstest.iterationcount", 5).intValue();
if( iterations < 100 )
iterations = 100;
+ */
log.info("Creating "+count+" threads doing "+iterations+" iterations");
Thread[] testThreads = new Thread[count];
StressTester[] testers = new StressTester[count];
More information about the jboss-cvs-commits
mailing list