Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3276

Make X509UtilTest.testCreateSSLServerSocketWithPort less flaky

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.6.0, 3.5.5
    • Fix Version/s: 3.6.0, 3.5.5
    • Component/s: None

      Description

      Saw a Jenkins test failure where the port returned by PortAssignment.unique() was in use. Theory: by setting custom cipher suites before getting the free port, we will make it less likely that another thread/process grabs the port under us, thus making the test failure less likely.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilyam Ilya Maykov
                Reporter:
                ilyam Ilya Maykov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h