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

Connectivity probes in ocsp_server_refresh.js should use fresh shells

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0, 5.0.7
    • None
    • None
    • Fully Compatible
    • v5.0
    • Security 2022-02-07, Security 2022-02-21
    • 15

    Description

      ocsp_server_refresh.js spawns servers and asserts various connectivity properties.

      Currently, we probe them using fresh Mongo objects. However, all of these objects exist in the parent shell, and share an SSLManager and associated caching infrastructure.

      To isolate each test case, we should:

      • Spawn a shell for each connection attempt
      • Parse their outputs to ensure that the precise nature of the failure is the one expected.
      • Assert soon that the shell produces the expected output, so that we tolerate transient states.

      Attachments

        Activity

          People

            erwin.pe@mongodb.com Erwin Pe
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: