[infinispan-issues] [JBoss JIRA] Commented: (ISPN-285) Enhance test fwk to avoid JMX domains collisions
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Fri Jan 15 09:01:42 EST 2010
[ https://jira.jboss.org/jira/browse/ISPN-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12506285#action_12506285 ]
Mircea Markus commented on ISPN-285:
------------------------------------
For each cache that is create with TestCacheManagerFactory.createXyzCacheManager() the test harness will allocate an unique JMX domain name which can be obtained through CacheManager.getJmxDomain(). This assures that no JMX collision will takes place between any parallel executing tests. If one wants to enforce a given JMX domain name, this can be done by using one of the TestCacheManagerFactory.createCacheManagerEnforceJmxDomain methods. These methods must be used with care, and one should make sure that no domain name collision happens when the parallel suite executes.
> Enhance test fwk to avoid JMX domains collisions
> -------------------------------------------------
>
> Key: ISPN-285
> URL: https://jira.jboss.org/jira/browse/ISPN-285
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 4.0.0.GA
>
>
> A possible solution would be:
> - jmx disabled by default (The TestCacheManagerFactory might do this)
> - new TestCacheManagerFactory method would receive the jmx domain. It will keep track of all active domains and won't allow two CacheManagers with same domain name.
--
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 infinispan-issues
mailing list