Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      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.

        Activity

        Robert Muir created issue -
        Hide
        Robert Muir added a comment -

        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.

        Show
        Robert Muir added a comment - 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.
        Robert Muir made changes -
        Field Original Value New Value
        Attachment LUCENE-2390.patch [ 12441360 ]
        Robert Muir made changes -
        Fix Version/s 3.1 [ 12314025 ]
        Fix Version/s 4.0.0 [ 12314822 ]
        Hide
        Robert Muir added a comment -

        Committed revision 932795.

        Show
        Robert Muir added a comment - Committed revision 932795.
        Robert Muir made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Uwe Schindler added a comment -

        Looks fine! +1 to commit!

        Show
        Uwe Schindler added a comment - Looks fine! +1 to commit!
        Uwe Schindler made changes -
        Affects Version/s 3.1 [ 12314822 ]
        Affects Version/s 4.0 [ 12314025 ]
        Robert Muir made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Robert Muir made changes -
        Fix Version/s 3.1 [ 12314822 ]
        Hide
        Robert Muir added a comment -

        backported: revision 941659

        Show
        Robert Muir added a comment - backported: revision 941659
        Robert Muir made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12508062 ] Default workflow, editable Closed status [ 12563480 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12563480 ] jira [ 12585077 ]
        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1
        Grant Ingersoll made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        24m 57s 1 Robert Muir 10/Apr/10 21:38
        Resolved Resolved Reopened Reopened
        25d 13h 21m 1 Robert Muir 06/May/10 11:00
        Reopened Reopened Resolved Resolved
        2m 3s 1 Robert Muir 06/May/10 11:02
        Resolved Resolved Closed Closed
        328d 4h 47m 1 Grant Ingersoll 30/Mar/11 15:50

          People

          • Assignee:
            Robert Muir
            Reporter:
            Robert Muir
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development