@@ -42,7 +42,7 @@ functions:
42
42
# Make an evergreen expansion file with dynamic values
43
43
- command : subprocess.exec
44
44
params :
45
- include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "test_encryption ", "test_encryption_pyopenssl ", "test_crypt_shared ", "test_pyopenssl ", "SETDEFAULTENCODING", "test_loadbalancer ", "test_serverless ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "TEST_SUITES ", "MONGODB_API_VERSION", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
45
+ include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "TEST_ENCRYPTION ", "TEST_ENCRYPTION_PYOPENSSL ", "TEST_CRYPT_SHARED ", "TEST_PYOPENSSL ", "SETDEFAULTENCODING", "TEST_LOADBALANCER ", "TEST_SEVERLESS ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "MONGODB_API_VERSION", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
46
46
binary : bash
47
47
working_dir : " src"
48
48
args :
@@ -274,39 +274,22 @@ functions:
274
274
275
275
" run tests " :
276
276
- command : subprocess.exec
277
+ type : test
277
278
params :
278
- include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
279
+ include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL",
280
+ " AWS_ACCESS_KEY_ID" , "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "TEST_SUITES",
281
+ " TEST_INDEX_MANAGEMENT" , "CRYPT_SHARED_LIB_PATH", "TEST_ENCRYPTION", "TEST_ENCRYPTION_PYOPENSSL",
282
+ " TEST_CRYPT_SHARED" , "TEST_PYOPENSSL", "TEST_LOADBALANCER", "TEST_SEVERLESS", "MONGODB_URI"]
279
283
binary : bash
280
284
working_dir : " src"
281
285
args :
282
286
- .evergreen/scripts/setup-tests.sh
283
- - command : subprocess.exec
284
- params :
285
- working_dir : " src"
286
- binary : bash
287
- background : true
288
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
289
- args :
290
- - .evergreen/scripts/run-with-env.sh
291
- - .evergreen/scripts/setup-encryption.sh
292
- - command : subprocess.exec
293
- type : test
294
- params :
295
- working_dir : " src"
296
- binary : bash
297
- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "PYTHON_BINARY", "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "SINGLE_MONGOS_LB_URI", "MULTI_MONGOS_LB_URI", "TEST_SUITES"]
298
- args :
299
- - .evergreen/scripts/run-with-env.sh
300
- - .evergreen/scripts/run-tests.sh
301
-
302
- " run direct tests " :
303
287
- command : subprocess.exec
304
288
type : test
305
289
params :
306
290
working_dir : " src"
307
291
binary : bash
308
- include_expansions_in_env : ["PYTHON_BINARY"]
309
- args : [ .evergreen/scripts/run-direct-tests.sh ]
292
+ args : [.evergreen/just.sh, test-eg]
310
293
311
294
" run enterprise auth tests " :
312
295
- command : subprocess.exec
@@ -340,13 +323,6 @@ functions:
340
323
- ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh
341
324
342
325
" run aws auth test with regular aws credentials " :
343
- - command : subprocess.exec
344
- params :
345
- include_expansions_in_env : ["TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
346
- binary : bash
347
- working_dir : " src"
348
- args :
349
- - .evergreen/scripts/setup-tests.sh
350
326
- command : subprocess.exec
351
327
type : test
352
328
params :
@@ -359,13 +335,6 @@ functions:
359
335
- regular
360
336
361
337
" run aws auth test with assume role credentials " :
362
- - command : subprocess.exec
363
- params :
364
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
365
- binary : bash
366
- working_dir : " src"
367
- args :
368
- - .evergreen/scripts/setup-tests.sh
369
338
- command : subprocess.exec
370
339
type : test
371
340
params :
@@ -378,13 +347,6 @@ functions:
378
347
- assume-role
379
348
380
349
" run aws auth test with aws EC2 credentials " :
381
- - command : subprocess.exec
382
- params :
383
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
384
- binary : bash
385
- working_dir : " src"
386
- args :
387
- - .evergreen/scripts/setup-tests.sh
388
350
- command : subprocess.exec
389
351
type : test
390
352
params :
@@ -397,13 +359,6 @@ functions:
397
359
- ec2
398
360
399
361
" run aws auth test with aws web identity credentials " :
400
- - command : subprocess.exec
401
- params :
402
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
403
- binary : bash
404
- working_dir : " src"
405
- args :
406
- - .evergreen/scripts/setup-tests.sh
407
362
- # Test with and without AWS_ROLE_SESSION_NAME set.
408
363
- command : subprocess.exec
409
364
type : test
@@ -429,13 +384,6 @@ functions:
429
384
- web-identity
430
385
431
386
" run aws auth test with aws credentials as environment variables " :
432
- - command : subprocess.exec
433
- params :
434
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
435
- binary : bash
436
- working_dir : " src"
437
- args :
438
- - .evergreen/scripts/setup-tests.sh
439
387
- command : subprocess.exec
440
388
type : test
441
389
params :
@@ -448,13 +396,6 @@ functions:
448
396
- env-creds
449
397
450
398
" run aws auth test with aws credentials and session token as environment variables " :
451
- - command : subprocess.exec
452
- params :
453
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
454
- binary : bash
455
- working_dir : " src"
456
- args :
457
- - .evergreen/scripts/setup-tests.sh
458
399
- command : subprocess.exec
459
400
type : test
460
401
params :
@@ -467,13 +408,6 @@ functions:
467
408
- session-creds
468
409
469
410
" run oidc auth test with test credentials " :
470
- - command : subprocess.exec
471
- params :
472
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
473
- binary : bash
474
- working_dir : " src"
475
- args :
476
- - .evergreen/scripts/setup-tests.sh
477
411
- command : subprocess.exec
478
412
type : test
479
413
params :
@@ -561,13 +495,6 @@ functions:
561
495
file : atlas-expansion.yml
562
496
563
497
" run-ocsp-test " :
564
- - command : subprocess.exec
565
- params :
566
- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
567
- binary : bash
568
- working_dir : " src"
569
- args :
570
- - .evergreen/scripts/setup-tests.sh
571
498
- command : subprocess.exec
572
499
type : test
573
500
params :
@@ -587,25 +514,6 @@ functions:
587
514
args :
588
515
- ${DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh
589
516
590
- " run load-balancer " :
591
- - command : subprocess.exec
592
- params :
593
- binary : bash
594
- include_expansions_in_env : ["MONGODB_URI"]
595
- args :
596
- - src/.evergreen/scripts/run-with-env.sh
597
- - src/.evergreen/scripts/run-load-balancer.sh
598
- - command : expansions.update
599
- params :
600
- file : lb-expansion.yml
601
-
602
- " stop load-balancer " :
603
- - command : subprocess.exec
604
- params :
605
- binary : bash
606
- args :
607
- - src/.evergreen/scripts/stop-load-balancer.sh
608
-
609
517
" teardown atlas " :
610
518
- command : subprocess.exec
611
519
params :
@@ -882,6 +790,7 @@ tasks:
882
790
- func : " run tests"
883
791
vars :
884
792
TEST_INDEX_MANAGEMENT : " 1"
793
+ AUTH : " auth"
885
794
886
795
- name : " mod-wsgi-standalone"
887
796
tags : ["mod_wsgi"]
@@ -935,7 +844,7 @@ tasks:
935
844
vars :
936
845
VERSION : " 8.0"
937
846
TOPOLOGY : " replica_set"
938
- - func : " run direct tests"
847
+ - func : " run tests"
939
848
940
849
- name : " atlas-connect"
941
850
tags : ["atlas-connect"]
@@ -1503,7 +1412,7 @@ tasks:
1503
1412
- name : " testgcpkms-task"
1504
1413
commands :
1505
1414
- command : subprocess.exec
1506
- type : setup
1415
+ type : test
1507
1416
params :
1508
1417
working_dir : " src"
1509
1418
binary : bash
@@ -1531,6 +1440,7 @@ tasks:
1531
1440
- name : testazurekms-task
1532
1441
commands :
1533
1442
- command : subprocess.exec
1443
+ type : test
1534
1444
params :
1535
1445
binary : bash
1536
1446
working_dir : src
0 commit comments