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

Make AsyncRPCTestFixture class and subclasses block until a command is scheduled

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability

      Currently, AsyncRPCTestFixture objects use async_rpc::sendCommand to asynchronously send a command, but this will return before the command is scheduled in test fixtures. This racy behavior is not desirable in our testing and we should update these callsites to wait until the command is scheduled.

            Assignee:
            Unassigned Unassigned
            Reporter:
            joseph.prince@mongodb.com Joseph Prince
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: