File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,10 @@ if test -n "$FLE"; then
137
137
# Start the KMS servers first so that they are launching while we are
138
138
# fetching libmongocrypt.
139
139
if test " $DOCKER_PRELOAD " ! = 1; then
140
- . .evergreen/csfle/activate_venv.sh
140
+ # We already have a virtualenv activated for mlaunch,
141
+ # install kms dependencies into it.
142
+ # . .evergreen/csfle/activate_venv.sh
143
+ pip install boto3~=1.19 cryptography~=3.4.8 pykmip~=0.10.0
141
144
fi
142
145
python3 -u .evergreen/csfle/kms_http_server.py --ca_file .evergreen/x509gen/ca.pem --cert_file .evergreen/x509gen/server.pem --port 7999 &
143
146
python3 -u .evergreen/csfle/kms_http_server.py --ca_file .evergreen/x509gen/ca.pem --cert_file .evergreen/x509gen/expired.pem --port 8000 &
@@ -266,11 +269,6 @@ if test -n "$OCSP_MOCK_PID"; then
266
269
kill " $OCSP_MOCK_PID "
267
270
fi
268
271
269
- # KMS virtualenv doesn't have mlaunch, get rid of it.
270
- if test -n " $FLE " && test " $DOCKER_PRELOAD " ! = 1; then
271
- deactivate
272
- fi
273
-
274
272
python -m mtools.mlaunch.mlaunch stop --dir " $dbdir "
275
273
276
274
exit ${test_status}
You can’t perform that action at this time.
0 commit comments