From 861d79537fee9dd80be02a4ffdbadc5897acfd7d Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Tue, 22 Mar 2022 14:52:06 -0700 Subject: [PATCH] PYTHON-3180 Use server v3 toolchain in perf tests (#905) --- .evergreen/run-perf-tests.sh | 2 +- .evergreen/run-tests.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.evergreen/run-perf-tests.sh b/.evergreen/run-perf-tests.sh index d2a913c82..bc447a956 100644 --- a/.evergreen/run-perf-tests.sh +++ b/.evergreen/run-perf-tests.sh @@ -13,7 +13,7 @@ cd .. export TEST_PATH="${PROJECT_DIRECTORY}/driver-performance-test-data" export OUTPUT_FILE="${PROJECT_DIRECTORY}/results.json" -MTCBIN=/opt/mongodbtoolchain/v2/bin +MTCBIN=/opt/mongodbtoolchain/v3/bin VIRTUALENV="$MTCBIN/virtualenv -p $MTCBIN/python3" $VIRTUALENV pyperftest diff --git a/.evergreen/run-tests.sh b/.evergreen/run-tests.sh index 7b9d051bd..ade267d2b 100755 --- a/.evergreen/run-tests.sh +++ b/.evergreen/run-tests.sh @@ -69,8 +69,8 @@ if [ -z "$PYTHON_BINARY" ]; then # system python3 doesn't exist or exists but is older than 3.6. if is_python_36 "$(command -v python3)"; then PYTHON=$(command -v python3) - elif is_python_36 "$(command -v /opt/mongodbtoolchain/v2/bin/python3)"; then - PYTHON=$(command -v /opt/mongodbtoolchain/v2/bin/python3) + elif is_python_36 "$(command -v /opt/mongodbtoolchain/v3/bin/python3)"; then + PYTHON=$(command -v /opt/mongodbtoolchain/v3/bin/python3) else echo "Cannot test without python3.6+ installed!" fi