Skip to content

Commit 6314f5a

Browse files
authored
chore(ci): fix aws auth tests (#2720)
NODE-3065
1 parent 617d9de commit 6314f5a

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.evergreen/config.yml

+4
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ functions:
251251
script: |
252252
${PREPARE_SHELL}
253253
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
254+
. ./activate_venv.sh
254255
${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js
255256
- command: shell.exec
256257
type: test
@@ -279,6 +280,7 @@ functions:
279280
script: |
280281
${PREPARE_SHELL}
281282
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
283+
. ./activate_venv.sh
282284
${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js
283285
- command: shell.exec
284286
type: test
@@ -311,6 +313,7 @@ functions:
311313
script: |
312314
${PREPARE_SHELL}
313315
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
316+
. ./activate_venv.sh
314317
${MONGODB_BINARIES}/mongo aws_e2e_ec2.js
315318
- command: shell.exec
316319
type: test
@@ -383,6 +386,7 @@ functions:
383386
EOF
384387
385388
cat setup.js
389+
. ./activate_venv.sh
386390
mongo --nodb setup.js aws_e2e_ecs.js
387391
run-ocsp-test:
388392
- command: shell.exec

.evergreen/config.yml.in

+4
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ functions:
282282
script: |
283283
${PREPARE_SHELL}
284284
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
285+
. ./activate_venv.sh
285286
${MONGODB_BINARIES}/mongo aws_e2e_regular_aws.js
286287
- command: shell.exec
287288
type: test
@@ -311,6 +312,7 @@ functions:
311312
script: |
312313
${PREPARE_SHELL}
313314
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
315+
. ./activate_venv.sh
314316
${MONGODB_BINARIES}/mongo aws_e2e_assume_role.js
315317
- command: shell.exec
316318
type: test
@@ -344,6 +346,7 @@ functions:
344346
script: |
345347
${PREPARE_SHELL}
346348
cd ${DRIVERS_TOOLS}/.evergreen/auth_aws
349+
. ./activate_venv.sh
347350
${MONGODB_BINARIES}/mongo aws_e2e_ec2.js
348351
- command: shell.exec
349352
type: test
@@ -419,6 +422,7 @@ functions:
419422
EOF
420423

421424
cat setup.js
425+
. ./activate_venv.sh
422426
mongo --nodb setup.js aws_e2e_ecs.js
423427

424428
"run-ocsp-test":

.evergreen/run-mongodb-aws-ecs-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export NVM_DIR="${PROJECT_DIRECTORY}/node-artifacts/nvm"
1616
set -x
1717

1818
# run the tests
19-
npm install aws4
19+
npm install aws4
2020
MONGODB_URI=$MONGODB_URI MONGODB_UNIFIED_TOPOLOGY=1 npx mocha test/functional/mongodb_aws.test.js

0 commit comments

Comments
 (0)