TEST_PING should be protected against paralel cache manager startups
--------------------------------------------------------------------
Key: ISPN-1412
URL:
https://issues.jboss.org/browse/ISPN-1412
Project: Infinispan
Issue Type: Bug
Components: Test Suite
Affects Versions: 5.1.0.ALPHA2 , 5.0.1.FINAL
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 5.1.0.BETA1, 5.1.0.FINAL
Attachments: stfclft.log
When a test creates two cache managers in paralell (i.e. -
StateTransferFileCacheLoaderFunctionalTest.testConcurrentStateTransfer) TEST_PING can
break with:
{code}Caused by: java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
at java.util.HashMap$ValueIterator.next(HashMap.java:839)
at org.infinispan.test.fwk.TEST_PING.findMembers(TEST_PING.java:74)
at org.jgroups.protocols.Discovery.findInitialMembers(Discovery.java:185)
at org.jgroups.protocols.Discovery.down(Discovery.java:467)
at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:593)
at org.jgroups.protocols.UNICAST.down(UNICAST.java:432)
at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:329)
at org.jgroups.protocols.pbcast.ClientGmsImpl.findInitialMembers(ClientGmsImpl.java:207)
at org.jgroups.protocols.pbcast.ClientGmsImpl.joinInternal(ClientGmsImpl.java:73)
at org.jgroups.protocols.pbcast.ClientGmsImpl.join(ClientGmsImpl.java:38)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:912)
at org.jgroups.protocols.FC.down(FC.java:435)
at org.jgroups.protocols.FRAG2.down(FRAG2.java:147)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:1033)
at org.jgroups.JChannel.down(JChannel.java:734)
at org.jgroups.JChannel.connect(JChannel.java:296)
... 21 more{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira