Skip to content

Commit 9ffa4de

Browse files
committed
PYTHON-2608 Kill background KMS servers at exit
1 parent b91ce53 commit 9ffa4de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.evergreen/run-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ if [ -n "$TEST_ENCRYPTION" ]; then
150150
pushd ${DRIVERS_TOOLS}/.evergreen/csfle
151151
python -u lib/kms_http_server.py --ca_file ../x509gen/ca.pem --cert_file ../x509gen/expired.pem --port 8000 &
152152
python -u lib/kms_http_server.py --ca_file ../x509gen/ca.pem --cert_file ../x509gen/wrong-host.pem --port 8001 &
153+
trap 'kill $(jobs -p)' EXIT HUP
153154
popd
154155
fi
155156
fi

0 commit comments

Comments
 (0)