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

Connectivity probes in ocsp_server_refresh.js should use fresh shells

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.0.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v5.0
    • Security 2022-02-07, Security 2022-02-21
    • 15

      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.

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

              Created:
              Updated:
              Resolved: