[jboss-cvs] JBossAS SVN: r99379 - trunk/testsuite/src/resources/naming/restart.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jan 13 22:34:47 EST 2010
Author: bstansberry at jboss.com
Date: 2010-01-13 22:34:47 -0500 (Wed, 13 Jan 2010)
New Revision: 99379
Modified:
trunk/testsuite/src/resources/naming/restart/naming-restart-jboss-beans.xml
Log:
[JBAS-7610] Fix NamingRestartUnitTestCase
Modified: trunk/testsuite/src/resources/naming/restart/naming-restart-jboss-beans.xml
===================================================================
--- trunk/testsuite/src/resources/naming/restart/naming-restart-jboss-beans.xml 2010-01-14 02:52:16 UTC (rev 99378)
+++ trunk/testsuite/src/resources/naming/restart/naming-restart-jboss-beans.xml 2010-01-14 03:34:47 UTC (rev 99379)
@@ -5,14 +5,20 @@
<!-- Don't inject the real AS thread pool, as it has a classloader
leak and we don't want to leak this classloader to it
-->
- <threads xmlns="urn:jboss:threads:1.0">
+ <threads xmlns="urn:jboss:threads:2.0">
<thread-group name="RestartNamingThreadGroup" group-name="RestartNamingThreadGroup"/>
- <thread-factory name="RestartNamingThreadFactory" group="RestartNamingThreadGroup"/>
- <thread-pool-executor name="RestartNamingThreadPool" thread-factory="RestartNamingThreadFactory">
- <core-pool-size count="5"/>
- <max-pool-size count="20"/>
- <reject-policy name="block"/>
- </thread-pool-executor>
+ <thread-factory name="RestartNamingThreadFactory">
+ <thread-group name="RestartNamingThreadGroup"/>
+ </thread-factory>
+
+ <queueless-thread-pool-executor name="RestartNamingThreadPool" blocking="true">
+ <max-threads count="200" per-cpu="500"/>
+ <thread-factory name="RestartNamingThreadFactory"/>
+ <task-filter>
+ <clear-context-classloader/>
+ <clear-tls/>
+ </task-filter>
+ </queueless-thread-pool-executor>
</threads>
<bean name="RestartNamingBean" class="org.jnp.server.NamingBeanImpl">
More information about the jboss-cvs-commits
mailing list