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

NetworkInterfaceMock should allow simultaneous interruption and response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Sprint:
      Security 2021-02-22, Security 2021-03-08
    • Linked BF Score:
      16

      Description

      There are no guards around NetworkInterfaceMock::NetworkOperation::setResponse() here and here. This means that tests that feature timeouts or interruptions cannot safely experience an interruption during a response. Poorly written tests may also experience undefined behavior because it is not explicitly defined who wins "races".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ben.caimano Benjamin Caimano (Inactive)
              Reporter:
              ben.caimano Benjamin Caimano (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: