[
https://issues.apache.org/jira/browse/JCR-3385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated JCR-3385:
--------------------------------
Attachment: JCR-3385-embedded-shared-db.patch
Alternative patch using an embedded database - a bit less "real world" but
results in simpler test cases
> 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