Fix trivial race in topology_listener_test

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0, 5.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Andrew Shuvalov (Inactive)
              Reporter:
              Andrew Shuvalov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: