Skip to content

Commit

Permalink
PYTHON-2608 Kill background KMS servers at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Jul 9, 2021
1 parent b91ce53 commit 9ffa4de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .evergreen/run-tests.sh
Expand Up @@ -150,6 +150,7 @@ if [ -n "$TEST_ENCRYPTION" ]; then
pushd ${DRIVERS_TOOLS}/.evergreen/csfle
python -u lib/kms_http_server.py --ca_file ../x509gen/ca.pem --cert_file ../x509gen/expired.pem --port 8000 &
python -u lib/kms_http_server.py --ca_file ../x509gen/ca.pem --cert_file ../x509gen/wrong-host.pem --port 8001 &
trap 'kill $(jobs -p)' EXIT HUP
popd
fi
fi
Expand Down

0 comments on commit 9ffa4de

Please sign in to comment.