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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • None
    • SDAM
    • Not Needed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: