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

Make debugging the mock network fixture easier

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Repl 2024-09-30, Repl 2024-10-14

      Currently, it can be difficult to debug unit tests that use the mock network fixture. Oftentimes, unit tests that are not set up correct will hang indefinitely instead of failing, making it difficult to gather info into what is actually incorrect.

      One potential way to improve this would be to periodically output expectations that are not satisfied in mock.runUntilExpectationsSatisfied.

            Assignee:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Reporter:
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: