Connectivity probes in ocsp_server_refresh.js should use fresh shells

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Spencer Jackson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: