]
Tristan Tarrant updated ISPN-7949:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.1.0.CR1
Resolution: Done
HotRod client test suite improvements
-------------------------------------
Key: ISPN-7949
URL:
https://issues.jboss.org/browse/ISPN-7949
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.1.0.Beta1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 9.1.0.CR1
When running locally, in a quad-core machine, the hot-rod client test suite fails most of
time with random errors such as:
{code}
createBeforeClass(org.infinispan.client.hotrod.HotRodAsyncReplicationTest)
Time elapsed: 0.569 sec <<< FAILURE!
org.infinispan.jmx.JmxDomainConflictException: ISPN000034: There's already a JMX
MBean instance type=Server,name=HotRod-HotRodAsyncReplicationTest already registered
under 'infinispan-630fffd4-fd37-47b1-a146-db7990fc0454' JMX domain. If you want
to allow multiple instances configured with same JMX domain enable
'allowDuplicateDomains'
attribute in 'globalJmxStatistics' config element
{code}
Thread usage is also high: it uses more than 1k threads.
Last, but not least, it takes about 6min to run about 2k tests