Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix aws auth tests #2720

Merged
merged 4 commits into from Feb 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .evergreen/config.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .evergreen/config.yml.in
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -419,6 +422,7 @@ functions:
EOF

cat setup.js
. ./activate_venv.sh
mongo --nodb setup.js aws_e2e_ecs.js

"run-ocsp-test":
Expand Down
2 changes: 1 addition & 1 deletion .evergreen/run-mongodb-aws-ecs-test.sh
Expand Up @@ -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