[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1386) Parallelize TestNG tests
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Thu Jul 10 11:50:27 EDT 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1386?page=comments#action_12420855 ]
Manik Surtani commented on JBCACHE-1386:
----------------------------------------
Another approach may be to:
1. Update all tests to use a specialised UnitTestCacheFacory
2. UTCC.createCache(Configuration c) would inspect the cfg and test whether a channel is needed.
3. If so, it would modify JGroups stack in the cfg with a unique mcast address and port.
4. Tests that use multiple caches would use an overloaded factory method: createCache(Configuration c, String testName).
Alternately, createCache() could try and get a stack trace and inspect StackTraceElements to determine the caller's test class and test name.
> Parallelize TestNG tests
> ------------------------
>
> Key: JBCACHE-1386
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1386
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Scripts and processes
> Reporter: Manik Surtani
> Assigned To: Manik Surtani
> Fix For: 2.2.0.GA, 3.0.0
>
>
> 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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list