diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 5099e90815..6617fc0e1e 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -251,6 +251,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js - command: shell.exec type: test @@ -279,6 +280,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js - command: shell.exec type: test @@ -311,6 +313,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_ec2.js - command: shell.exec type: test @@ -383,6 +386,7 @@ functions: EOF cat setup.js + . ./activate_venv.sh mongo --nodb setup.js aws_e2e_ecs.js run-ocsp-test: - command: shell.exec diff --git a/.evergreen/config.yml.in b/.evergreen/config.yml.in index 1c0bc712a2..fc2e7581e2 100644 --- a/.evergreen/config.yml.in +++ b/.evergreen/config.yml.in @@ -282,6 +282,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js - command: shell.exec type: test @@ -311,6 +312,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js - command: shell.exec type: test @@ -344,6 +346,7 @@ functions: script: | ${PREPARE_SHELL} cd ${DRIVERS_TOOLS}/.evergreen/auth_aws + . ./activate_venv.sh ${MONGODB_BINARIES}/mongo aws_e2e_ec2.js - command: shell.exec type: test @@ -419,6 +422,7 @@ functions: EOF cat setup.js + . ./activate_venv.sh mongo --nodb setup.js aws_e2e_ecs.js "run-ocsp-test": diff --git a/.evergreen/run-mongodb-aws-ecs-test.sh b/.evergreen/run-mongodb-aws-ecs-test.sh index 54989bfe42..baf933bca0 100755 --- a/.evergreen/run-mongodb-aws-ecs-test.sh +++ b/.evergreen/run-mongodb-aws-ecs-test.sh @@ -16,5 +16,5 @@ export NVM_DIR="${PROJECT_DIRECTORY}/node-artifacts/nvm" set -x # run the tests -npm install aws4 +npm install aws4 MONGODB_URI=$MONGODB_URI MONGODB_UNIFIED_TOPOLOGY=1 npx mocha test/functional/mongodb_aws.test.js