[jboss-jira] [JBoss JIRA] (JGRP-1515) GossipRouter tests: port conflicts as every instance uses 12001 by default
Bela Ban (JIRA)
jira-events at lists.jboss.org
Thu Sep 13 05:48:32 EDT 2012
Bela Ban created JGRP-1515:
------------------------------
Summary: GossipRouter tests: port conflicts as every instance uses 12001 by default
Key: JGRP-1515
URL: https://issues.jboss.org/browse/JGRP-1515
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.2
We have 4 tests involving GossipRouter. They use either tunnel.xml or tcpgossip.xml, which have GR running at 12001. When 2 or more of those tests run in parallel, we get a lot of SKIPPED tests, due to the fact the a GR cannot be started as its port is already taken (in setup()).
SOLUTION: instead of using tunnel.xml and tcpgossip.xml, create a stack *programmatically*, using a port for GR that's retrieved via the ResourceManager.
This also has the advantage that the GR tests don't rely on config files, which might get changed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list