File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ echo "Running MONGODB-AWS authentication tests"
1717# ensure no secrets are printed in log files
1818set +x
1919
20+ . .evergreen/utils.sh
21+
2022# load the script
2123shopt -s expand_aliases # needed for `urlencode` alias
2224[ -s " ${PROJECT_DIRECTORY} /prepare_mongodb_aws.sh" ] && source " ${PROJECT_DIRECTORY} /prepare_mongodb_aws.sh"
@@ -54,13 +56,8 @@ authtest () {
5456 echo " Running MONGODB-AWS authentication tests with $PYTHON "
5557 $PYTHON --version
5658
57- $VIRTUALENV -p $PYTHON --system-site-packages --never-download venvaws
58- if [ " Windows_NT" = " $OS " ]; then
59- . venvaws/Scripts/activate
60- else
61- . venvaws/bin/activate
62- fi
63- pip install ' .[aws]'
59+ createvirtualenv $PYTHON venvaws
60+ python -m pip install ' .[aws]'
6461 python test/auth_aws/test_auth_aws.py
6562 deactivate
6663 rm -rf venvaws
You can’t perform that action at this time.
0 commit comments