[jboss-dev-forums] [Design of JCA on JBoss] - Re: Pooling stress tests failing

adrian@jboss.org do-not-reply at jboss.com
Fri Sep 5 04:38:53 EDT 2008


NOTE: You can run these stress tests for longer and with more threads, etc.
by starting JBoss with the relevant system properties:

See EJBTestCase:

  |    protected int getThreadCount()
  |    {
  |       int result = Integer.getInteger("jbosstest.threadcount", JBossTestServices.DEFAULT_THREADCOUNT).intValue();
  |       log.debug("jbosstest.threadcount=" + result);
  |       return result;
  |    }
  | 
  |    protected int getIterationCount()
  |    {
  |       int result = Integer.getInteger("jbosstest.iterationcount", JBossTestServices.DEFAULT_ITERATIONCOUNT).intValue();
  |       log.debug("jbosstest.iterationcount=" + result);
  |       return result;
  |    }
  | 
  |    protected int getBeanCount()
  |    {
  |       int result = Integer.getInteger("jbosstest.beancount", JBossTestServices.DEFAULT_BEANCOUNT).intValue();
  |       log.debug("jbosstest.beancount=" + result);
  |       return result;
  |    }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174512#4174512

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174512



More information about the jboss-dev-forums mailing list