Skip to content

Commit fe0efb3

Browse files
chore(NODE-6502) Address two other usages of system python (mongodb#4324)
Co-authored-by: Bailey Pearson <[email protected]> (cherry picked from commit 247284e)
1 parent 9529a6b commit fe0efb3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.evergreen/run-azure-kms-mock-server.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ if [ -z ${DRIVERS_TOOLS+omitted} ]; then echo "DRIVERS_TOOLS is unset" && exit 1
44

55
set -o errexit
66

7-
python3 $DRIVERS_TOOLS/.evergreen/csfle/bottle.py fake_azure:imds &
7+
pushd $DRIVERS_TOOLS/.evergreen/csfle
8+
. ./activate-kmstlsvenv.sh
9+
python bottle.py fake_azure:imds &
10+
popd
811

912
echo "Running Azure KMS idms server on port 8080"

.evergreen/run-socks5-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -o xtrace # For debuggability, no external credentials are used here
77

88
node -v
99

10-
PYTHON_BINARY=${PYTHON_BINARY:-python3}
10+
PYTHON_BINARY=$(bash -c ". $DRIVERS_TOOLS/.evergreen/find-python3.sh && ensure_python3 2>/dev/null")
1111

1212
# ssl setup
1313
SSL=${SSL:-nossl}

0 commit comments

Comments
 (0)