Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4504

Improve reliability of SDAM heartbeat error spec tests. Fix Runner socket leak issue

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: SDAM
    • Not Needed

      This ticket was split from DRIVERS-2386, please see that ticket for a detailed description.


      Syncing this test change causes our test runner to leak a 0 timeout socket hanging the process. The test removes two assertions about event counts, possibly the runner isn't correctly awaiting things due to a lack of assertions. Command error on Monitor check is the test that would leak the socket. Use TRACE_SOCKETS=true env variable and run the -g filter "SDAM integration spec tests" to reproduce against a 5.0.9 replica_set on linux.

            Assignee:
            daria.pardue@mongodb.com Daria Pardue
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: