@@ -258,11 +258,11 @@ functions:
258
258
- command : subprocess.exec
259
259
type : test
260
260
params :
261
- include_expansions_in_env : ["PROJECT_DIRECTORY"]
261
+ include_expansions_in_env : ["PROJECT_DIRECTORY", "PYTHON_BINARY", "MOD_WSGI_VERSION", "MOD_WSGI_EMBEDDED" ]
262
262
working_dir : " src"
263
263
binary : bash
264
264
args :
265
- - .evergreen/scripts/run-modwsgi -tests.sh
265
+ - .evergreen/scripts/run-mod-wsgi -tests.sh
266
266
267
267
" run mockupdb tests " :
268
268
- command : subprocess.exec
@@ -387,55 +387,66 @@ functions:
387
387
- ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh
388
388
389
389
" run aws auth test with regular aws credentials " :
390
- - command : shell .exec
390
+ - command : subprocess .exec
391
391
type : test
392
392
params :
393
- shell : " bash"
393
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
394
+ binary : bash
394
395
working_dir : " src"
395
- script : |
396
- . .evergreen/scripts/env.sh
397
- .evergreen/run-mongodb-aws-test.sh regular
396
+ args :
397
+ - .evergreen/scripts/run-mongodb-aws-test.sh regular
398
398
399
399
" run aws auth test with assume role credentials " :
400
- - command : shell .exec
400
+ - command : subprocess .exec
401
401
type : test
402
402
params :
403
- shell : " bash"
403
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
404
+ binary : bash
404
405
working_dir : " src"
405
- script : |
406
- . .evergreen/scripts/env.sh
407
- .evergreen/run-mongodb-aws-test.sh assume-role
406
+ args :
407
+ - .evergreen/scripts/run-mongodb-aws-test.sh assume-role
408
408
409
409
" run aws auth test with aws EC2 credentials " :
410
- - command : shell .exec
410
+ - command : subprocess .exec
411
411
type : test
412
412
params :
413
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
414
+ binary : bash
413
415
working_dir : " src"
414
- shell : " bash"
415
- script : |
416
- if [ "${skip_EC2_auth_test}" = "true" ]; then
417
- echo "This platform does not support the EC2 auth test, skipping..."
418
- exit 0
419
- fi
420
- . .evergreen/scripts/env.sh
421
- .evergreen/run-mongodb-aws-test.sh ec2
416
+ args :
417
+ - .evergreen/scripts/run-mongodb-aws-test.sh ec2
422
418
423
419
" run aws auth test with aws web identity credentials " :
424
- - command : shell .exec
420
+ - command : subprocess .exec
425
421
type : test
426
422
params :
423
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
424
+ binary : bash
427
425
working_dir : " src"
428
- shell : " bash"
429
- script : |
430
- if [ "${skip_EC2_auth_test}" = "true" ]; then
431
- echo "This platform does not support the web identity auth test, skipping..."
432
- exit 0
433
- fi
434
- . .evergreen/scripts/env.sh
426
+ args :
435
427
# Test with and without AWS_ROLE_SESSION_NAME set.
436
- .evergreen/run-mongodb-aws-test.sh web-identity
437
- AWS_ROLE_SESSION_NAME="test" \
438
- .evergreen/run-mongodb-aws-test.sh web-identity
428
+ - .evergreen/scripts/run-mongodb-aws-test.sh web-identity
429
+ - AWS_ROLE_SESSION_NAME="test" .evergreen/scripts/run-mongodb-aws-test.sh web-identity
430
+
431
+ " run aws auth test with aws credentials as environment variables " :
432
+ - command : subprocess.exec
433
+ type : test
434
+ params :
435
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
436
+ binary : bash
437
+ working_dir : " src"
438
+ args :
439
+ - .evergreen/scripts/run-mongodb-aws-test.sh env-creds
440
+
441
+ " run aws auth test with aws credentials and session token as environment variables " :
442
+ - command : subprocess.exec
443
+ type : test
444
+ params :
445
+ include_expansions_in_env : ["DRIVERS_TOOLS"]
446
+ binary : bash
447
+ working_dir : " src"
448
+ args :
449
+ - .evergreen/scripts/run-mongodb-aws-test.sh session-creds
439
450
440
451
" run oidc auth test with test credentials " :
441
452
- command : subprocess.exec
@@ -459,26 +470,6 @@ functions:
459
470
args :
460
471
- ${PROJECT_DIRECTORY}/.evergreen/run-mongodb-oidc-remote-test.sh
461
472
462
- " run aws auth test with aws credentials as environment variables " :
463
- - command : shell.exec
464
- type : test
465
- params :
466
- working_dir : " src"
467
- shell : bash
468
- script : |
469
- . .evergreen/scripts/env.sh
470
- .evergreen/run-mongodb-aws-test.sh env-creds
471
-
472
- " run aws auth test with aws credentials and session token as environment variables " :
473
- - command : shell.exec
474
- type : test
475
- params :
476
- working_dir : " src"
477
- shell : bash
478
- script : |
479
- . .evergreen/scripts/env.sh
480
- .evergreen/run-mongodb-aws-test.sh session-creds
481
-
482
473
" run aws ECS auth test " :
483
474
- command : subprocess.exec
484
475
type : test
0 commit comments