[ https://issues.apache.org/jira/browse/JCR-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved JCR-3385. --------------------------------- Resolution: Fixed I have committed my patch now - not because it's better thank Jukkas patch, but because I hope the tests will be easier to understand and maintain in the future. Revision 1360692 > DbClusterTest fails when port is already in use > ----------------------------------------------- > > Key: JCR-3385 > URL: https://issues.apache.org/jira/browse/JCR-3385 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: clustering, jackrabbit-core > Affects Versions: 2.5 > Reporter: Jukka Zitting > Assignee: Thomas Mueller > Priority: Minor > Attachments: > 0001-JCR-3385-DbClusterTest-fails-when-port-is-already-in.patch, > JCR-3385-embedded-shared-db.patch > > > The DbClusterTest and DbClusterTestJCR3162 classes use hard-coded TCP port > numbes 9001 and 9002 which make the tests fail whenever there already is some > process listening on those ports. > It would be better if the classes automatically looked for unused ports for > the tests. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira