[ https://issues.apache.org/jira/browse/LUCENE-2390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-2390: -------------------------------- Attachment: LUCENE-2390.patch Patch that creates a RemoteTestCaseJ4 that binds to an ephemeral port (0), with a custom RMIServerSocketFactory that has access to the port number. _TestUtil.getRandomSocketPort() is removed, and all remote tests extend this new class. > contrib/remote tests fail randomly > ---------------------------------- > > Key: LUCENE-2390 > URL: https://issues.apache.org/jira/browse/LUCENE-2390 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Affects Versions: 3.1 > Reporter: Robert Muir > Assignee: Robert Muir > Fix For: 4.0.0 > > Attachments: LUCENE-2390.patch > > > The contrib/remote tests will fail randomly. > This is because they use this _TestUtil.getRandomSocketPort() which > simply generates a random number, but if this is already in use, it will fail. > Additionally there is duplicate RMI logic across all 3 test classes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org