Launch KMS python servers from within driver test framework

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Component/s: Client Side Encryption
    • None
    • Needed

      How are you using Mongo? What version of the server and driver are you using?

      Currently the CI launches 4 python servers for kms testing in background, this means that any immediate errors upon launch will not block the tests from proceeding. We should instead write some child_process launch code that can assert the process hasn't immediately died upon launch.

      SOCKS5 is similarly tested however the goal of SOCKS5 is to always ensure we can correctly connect, the KMS tests are attempting to cover error scenarios. A launched server that dies immediately might error in a way indistinguishable from one that's alive, but intended to error.

            Assignee:
            Unassigned
            Reporter:
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: