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

Make NetworkInterfaceTestWithBaton run baton while waiting for hello

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • Networking & Obs 2024-10-28, Networking & Obs 2024-11-11
    • 0

      The AsyncOpTimeoutWithOpCtxDeadlineSooner unit test (code) runs a command and expects to get a timeout error while waiting for a response from the mongod server. When the test runs the baton version test suit, the `waitForHello` function will block the baton to execute tasks as it does not wait on anything until `waitForHello` return. Similar issue exists on other baton version test cases which call `waitForHello` function in this file.

      In this ticket, we will make the baton version `waitForHello` to run baton while waiting for the hello response. 

       

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: