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

Improve debuggability of socket_disconnect_kills.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When I was trying to simplify FindCmd, I hit a test failure in socket_disconnect_kills.js, and had a hard time debugging it because of how the test is structured. Mainly, it was hard to comment out individual examples because there was an assertion covering all of them together; I split this up into a separate assertion per example. I also changed it to use less looping and curried functions, to make jump-to-definition and stack traces more informative.

            Assignee:
            joseph.prince@mongodb.com Joseph Prince
            Reporter:
            david.percy@mongodb.com David Percy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: