@@ -357,18 +357,12 @@ def create_green_framework_variants():
357357
358358
359359def create_no_c_ext_variants ():
360- variants = []
361360 host = DEFAULT_HOST
362- for python , topology in zip_cycle (CPYTHONS , TOPOLOGIES ):
363- tasks = [f".{ topology } .noauth .nossl !.sync_async" ]
364- expansions = dict ()
365- handle_c_ext (C_EXTS [0 ], expansions )
366- display_name = get_variant_name ("No C Ext" , host , python = python )
367- variant = create_variant (
368- tasks , display_name , host = host , python = python , expansions = expansions
369- )
370- variants .append (variant )
371- return variants
361+ tasks = [".standard-linux" ]
362+ expansions = dict ()
363+ handle_c_ext (C_EXTS [0 ], expansions )
364+ display_name = get_variant_name ("No C Ext" , host )
365+ return [create_variant (tasks , display_name , host = host )]
372366
373367
374368def create_atlas_data_lake_variants ():
@@ -469,13 +463,13 @@ def create_mockupdb_variants():
469463
470464def create_doctests_variants ():
471465 host = DEFAULT_HOST
472- python = CPYTHONS [ 0 ]
466+ expansions = dict ( TEST_NAME = "doctest" )
473467 return [
474468 create_variant (
475- [".doctests" ],
476- get_variant_name ("Doctests" , host , python = python ),
477- python = python ,
469+ [".standard-linux .standalone-noauth-nossl" ],
470+ get_variant_name ("Doctests" , host ),
478471 host = host ,
472+ expansions = expansions ,
479473 )
480474 ]
481475
@@ -1013,14 +1007,6 @@ def create_mockupdb_tasks():
10131007 return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
10141008
10151009
1016- def create_doctest_tasks ():
1017- server_func = FunctionCall (func = "run server" )
1018- test_func = FunctionCall (func = "run just script" , vars = dict (JUSTFILE_TARGET = "docs-test" ))
1019- task_name = "test-doctests"
1020- tags = ["doctests" ]
1021- return [EvgTask (name = task_name , tags = tags , commands = [server_func , test_func ])]
1022-
1023-
10241010def create_no_server_tasks ():
10251011 test_func = FunctionCall (func = "run tests" )
10261012 task_name = "test-no-server"
@@ -1164,13 +1150,6 @@ def create_run_server_func():
11641150 return "run server" , [sub_cmd , expansion_cmd ]
11651151
11661152
1167- def create_run_just_script_func ():
1168- includes = ["AWS_ACCESS_KEY_ID" , "AWS_SECRET_ACCESS_KEY" , "AWS_SESSION_TOKEN" ]
1169- args = [".evergreen/just.sh" , "${JUSTFILE_TARGET}" ]
1170- cmd = get_subprocess_exec (include_expansions_in_env = includes , args = args )
1171- return "run just script" , [cmd ]
1172-
1173-
11741153def create_run_tests_func ():
11751154 includes = [
11761155 "AUTH" ,
0 commit comments