Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57131

Fix trivial race in topology_listener_test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0, 5.0.5
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • 135

    Description

      There is a small race probability in the test that after `l1->hasPingResponse()` is true the use count is still 0. Just refactor the loop.

      Attachments

        Activity

          People

            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: