@@ -352,18 +352,12 @@ def create_green_framework_variants():
352352
353353
354354def create_no_c_ext_variants ():
355- variants = []
356355 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 )]
367361
368362
369363def create_atlas_data_lake_variants ():
@@ -464,13 +458,13 @@ def create_mockupdb_variants():
464458
465459def create_doctests_variants ():
466460 host = DEFAULT_HOST
467- python = CPYTHONS [ 0 ]
461+ expansions = dict ( TEST_NAME = "doctest" )
468462 return [
469463 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 ),
473466 host = host ,
467+ expansions = expansions ,
474468 )
475469 ]
476470
@@ -1008,14 +1002,6 @@ def create_mockupdb_tasks():
10081002 return [EvgTask (name = task_name , tags = tags , commands = [test_func ])]
10091003
10101004
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-
10191005def create_no_server_tasks ():
10201006 test_func = FunctionCall (func = "run tests" )
10211007 task_name = "test-no-server"
@@ -1159,13 +1145,6 @@ def create_run_server_func():
11591145 return "run server" , [sub_cmd , expansion_cmd ]
11601146
11611147
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-
11691148def create_run_tests_func ():
11701149 includes = [
11711150 "AUTH" ,
0 commit comments