[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1386) Parallelize TestNG tests
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Jul 18 07:31:52 EDT 2008
[ https://jira.jboss.org/jira/browse/JBCACHE-1386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12421831#action_12421831 ]
Manik Surtani commented on JBCACHE-1386:
----------------------------------------
Thanks for volunteering to help with this, Dominik.
Here are a few more ideas:
1. By default we should change the Maven Surefire plugin to run tests in parallel, with, say, 20 threads. (See http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html)
2. Tests that cannot be run in parallel, for whatever reason, should be annotated with sequential = true (see http://testng.org/doc/documentation-main.html#annotations)
3. Remaining tests - will need to make sure all class-level fields are moved to the methods so there is no concurrency problem.
4. Will need to make sure tearDown() methods properly stop caches started by the UnitTestCacheFactory
Thanks!
> Parallelize TestNG tests
> ------------------------
>
> Key: JBCACHE-1386
> URL: https://jira.jboss.org/jira/browse/JBCACHE-1386
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Scripts and processes
> Reporter: Manik Surtani
> Assignee: Dominik Pospisil
> Fix For: 3.0.0.GA
>
>
> Stuff that will need to rely on JGroups' ChannelFactory for unit tests.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list