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

Remove unnecessary test assertion in hedged_async_rpc_test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2023-05-29, Service Arch 2023-06-12, Service Arch 2023-06-26
    • 132

    Description

      In hedged_async_rpc_test, a test intending to only validate maxTimeMSOpOnly being set to opCtx deadline checks the NetworkInterfaceMock counters for counters.cancelled == 1. There is nothing to prevent deadline from expiring and counters.failed being incremented instead of counters.canceled, so remove the assertions.

      Attachments

        Activity

          People

            alex.li@mongodb.com Alex Li
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: