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

Make X509UtilTest.testCreateSSLServerSocketWithPort less flaky

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.6.0, 3.5.5
    • 3.6.0, 3.5.5
    • 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

              ilyam Ilya Maykov
              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