@@ -352,18 +352,12 @@ def create_green_framework_variants():
352
352
353
353
354
354
def create_no_c_ext_variants ():
355
- variants = []
356
355
host = DEFAULT_HOST
357
- for python , topology in zip_cycle (CPYTHONS , TOPOLOGIES ):
358
- tasks = [f".{ topology } .noauth .nossl !.sync_async" ]
359
- expansions = dict ()
360
- handle_c_ext (C_EXTS [0 ], expansions )
361
- display_name = get_variant_name ("No C Ext" , host , python = python )
362
- variant = create_variant (
363
- tasks , display_name , host = host , python = python , expansions = expansions
364
- )
365
- variants .append (variant )
366
- return variants
356
+ tasks = [".standard-linux" ]
357
+ expansions = dict ()
358
+ handle_c_ext (C_EXTS [0 ], expansions )
359
+ display_name = get_variant_name ("No C Ext" , host )
360
+ return [create_variant (tasks , display_name , host = host )]
367
361
368
362
369
363
def create_atlas_data_lake_variants ():
@@ -464,13 +458,13 @@ def create_mockupdb_variants():
464
458
465
459
def create_doctests_variants ():
466
460
host = DEFAULT_HOST
467
- python = CPYTHONS [ 0 ]
461
+ expansions = dict ( TEST_NAME = "doctest" )
468
462
return [
469
463
create_variant (
470
- [".doctests" ],
471
- get_variant_name ("Doctests" , host , python = python ),
472
- python = python ,
464
+ [".standard-linux .standalone-noauth-nossl" ],
465
+ get_variant_name ("Doctests" , host ),
473
466
host = host ,
467
+ expansions = expansions ,
474
468
)
475
469
]
476
470
@@ -1008,14 +1002,6 @@ def create_mockupdb_tasks():
1008
1002
return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
1009
1003
1010
1004
1011
- def create_doctest_tasks ():
1012
- server_func = FunctionCall (func = "run server" )
1013
- test_func = FunctionCall (func = "run just script" , vars = dict (JUSTFILE_TARGET = "docs-test" ))
1014
- task_name = "test-doctests"
1015
- tags = ["doctests" ]
1016
- return [EvgTask (name = task_name , tags = tags , commands = [server_func , test_func ])]
1017
-
1018
-
1019
1005
def create_no_server_tasks ():
1020
1006
test_func = FunctionCall (func = "run tests" )
1021
1007
task_name = "test-no-server"
@@ -1159,13 +1145,6 @@ def create_run_server_func():
1159
1145
return "run server" , [sub_cmd , expansion_cmd ]
1160
1146
1161
1147
1162
- def create_run_just_script_func ():
1163
- includes = ["AWS_ACCESS_KEY_ID" , "AWS_SECRET_ACCESS_KEY" , "AWS_SESSION_TOKEN" ]
1164
- args = [".evergreen/just.sh" , "${JUSTFILE_TARGET}" ]
1165
- cmd = get_subprocess_exec (include_expansions_in_env = includes , args = args )
1166
- return "run just script" , [cmd ]
1167
-
1168
-
1169
1148
def create_run_tests_func ():
1170
1149
includes = [
1171
1150
"AUTH" ,
0 commit comments