77from generate_config_utils import (
88 ALL_PYTHONS ,
99 ALL_VERSIONS ,
10+ BATCHTIME_DAY ,
1011 BATCHTIME_WEEK ,
1112 C_EXTS ,
1213 CPYTHONS ,
@@ -126,7 +127,7 @@ def create_free_threaded_variants() -> list[BuildVariant]:
126127def create_encryption_variants () -> list [BuildVariant ]:
127128 variants = []
128129 tags = ["encryption_tag" ]
129- batchtime = BATCHTIME_WEEK
130+ batchtime = BATCHTIME_DAY
130131
131132 def get_encryption_expansions (encryption ):
132133 expansions = dict (TEST_NAME = "encryption" )
@@ -183,7 +184,7 @@ def create_load_balancer_variants():
183184 tasks ,
184185 "Load Balancer" ,
185186 host = DEFAULT_HOST ,
186- batchtime = BATCHTIME_WEEK ,
187+ batchtime = BATCHTIME_DAY ,
187188 expansions = expansions ,
188189 )
189190 ]
@@ -226,7 +227,7 @@ def create_enterprise_auth_variants():
226227
227228def create_pyopenssl_variants ():
228229 base_name = "PyOpenSSL"
229- batchtime = BATCHTIME_WEEK
230+ batchtime = BATCHTIME_DAY
230231 expansions = dict (SUB_TEST_NAME = "pyopenssl" )
231232 variants = []
232233
@@ -300,12 +301,8 @@ def create_stable_api_variants():
300301def create_green_framework_variants ():
301302 variants = []
302303 host = DEFAULT_HOST
303- for framework in ["eventlet" , " gevent" ]:
304+ for framework in ["gevent" ]:
304305 tasks = [".test-standard .sync" ]
305- if framework == "eventlet" :
306- # Eventlet has issues with dnspython > 2.0 and newer versions of CPython
307- # https://jira.mongodb.org/browse/PYTHON-5284
308- tasks = [".test-standard .python-3.9 .sync" ]
309306 expansions = dict (GREEN_FRAMEWORK = framework )
310307 display_name = get_variant_name (f"Green { framework .capitalize ()} " , host )
311308 variant = create_variant (tasks , display_name , host = host , expansions = expansions )
@@ -352,7 +349,7 @@ def create_oidc_auth_variants():
352349 tasks ,
353350 get_variant_name ("Auth OIDC" , host ),
354351 host = host ,
355- batchtime = BATCHTIME_WEEK ,
352+ batchtime = BATCHTIME_DAY ,
356353 )
357354 )
358355 # Add a specific local test to run on PRs.
@@ -364,7 +361,7 @@ def create_oidc_auth_variants():
364361 get_variant_name ("Auth OIDC Local" , host ),
365362 tags = ["pr" ],
366363 host = host ,
367- batchtime = BATCHTIME_WEEK ,
364+ batchtime = BATCHTIME_DAY ,
368365 )
369366 )
370367 return variants
@@ -429,9 +426,9 @@ def create_coverage_report_variants():
429426
430427def create_kms_variants ():
431428 tasks = []
432- tasks .append (EvgTaskRef (name = "test-gcpkms" , batchtime = BATCHTIME_WEEK ))
429+ tasks .append (EvgTaskRef (name = "test-gcpkms" , batchtime = BATCHTIME_DAY ))
433430 tasks .append ("test-gcpkms-fail" )
434- tasks .append (EvgTaskRef (name = "test-azurekms" , batchtime = BATCHTIME_WEEK ))
431+ tasks .append (EvgTaskRef (name = "test-azurekms" , batchtime = BATCHTIME_DAY ))
435432 tasks .append ("test-azurekms-fail" )
436433 return [create_variant (tasks , "KMS" , host = HOSTS ["debian11" ])]
437434
@@ -446,9 +443,7 @@ def create_backport_pr_variants():
446443
447444def create_perf_variants ():
448445 host = HOSTS ["perf" ]
449- return [
450- create_variant ([".perf" ], "Performance Benchmarks" , host = host , batchtime = BATCHTIME_WEEK )
451- ]
446+ return [create_variant ([".perf" ], "Performance Benchmarks" , host = host , batchtime = BATCHTIME_DAY )]
452447
453448
454449def create_aws_auth_variants ():
@@ -482,7 +477,7 @@ def create_no_server_variants():
482477
483478
484479def create_alternative_hosts_variants ():
485- batchtime = BATCHTIME_WEEK
480+ batchtime = BATCHTIME_DAY
486481 variants = []
487482
488483 host = HOSTS ["rhel7" ]
0 commit comments