PYTHON-3180 Use server v3 toolchain in perf tests (#905)
This commit is contained in:
parent
da81c69644
commit
861d79537f
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user