[DRIVERS-2220] Launch KMS python servers from within driver test framework Created: 16/Feb/22  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Neal Beeken Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Driver Changes: Needed

 Description   

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.


Generated at Thu Feb 08 08:25:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.