lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2390) contrib/remote tests fail randomly
Date Sat, 10 Apr 2010 21:16:42 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message