Skip to content

Commit 74b85d5

Browse files
authored
PYTHON-5180 Use a standard batchtime of one week (#2179)
1 parent 9edfc62 commit 74b85d5

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.evergreen/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1430,10 +1430,10 @@ buildvariants:
14301430
- debian11-small
14311431
tasks:
14321432
- name: test-gcpkms
1433-
batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
1433+
batchtime: 10080 # 7 days
14341434
- name: test-gcpkms-fail
14351435
- name: test-azurekms
1436-
batchtime: 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
1436+
batchtime: 10080 # 7 days
14371437
- name: test-azurekms-fail
14381438

14391439
- name: rhel8-test-lambda

.evergreen/generated_configs/variants.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ buildvariants:
823823
display_name: OCSP RHEL8 v4.4 Python3.9
824824
run_on:
825825
- rhel87-small
826-
batchtime: 20160
826+
batchtime: 10080
827827
expansions:
828828
AUTH: noauth
829829
SSL: ssl
@@ -836,7 +836,7 @@ buildvariants:
836836
display_name: OCSP RHEL8 v5.0 Python3.10
837837
run_on:
838838
- rhel87-small
839-
batchtime: 20160
839+
batchtime: 10080
840840
expansions:
841841
AUTH: noauth
842842
SSL: ssl
@@ -849,7 +849,7 @@ buildvariants:
849849
display_name: OCSP RHEL8 v6.0 Python3.11
850850
run_on:
851851
- rhel87-small
852-
batchtime: 20160
852+
batchtime: 10080
853853
expansions:
854854
AUTH: noauth
855855
SSL: ssl
@@ -862,7 +862,7 @@ buildvariants:
862862
display_name: OCSP RHEL8 v7.0 Python3.12
863863
run_on:
864864
- rhel87-small
865-
batchtime: 20160
865+
batchtime: 10080
866866
expansions:
867867
AUTH: noauth
868868
SSL: ssl
@@ -875,7 +875,7 @@ buildvariants:
875875
display_name: OCSP RHEL8 v8.0 Python3.13
876876
run_on:
877877
- rhel87-small
878-
batchtime: 20160
878+
batchtime: 10080
879879
expansions:
880880
AUTH: noauth
881881
SSL: ssl
@@ -888,7 +888,7 @@ buildvariants:
888888
display_name: OCSP RHEL8 rapid PyPy3.10
889889
run_on:
890890
- rhel87-small
891-
batchtime: 20160
891+
batchtime: 10080
892892
expansions:
893893
AUTH: noauth
894894
SSL: ssl
@@ -901,7 +901,7 @@ buildvariants:
901901
display_name: OCSP RHEL8 latest Python3.9
902902
run_on:
903903
- rhel87-small
904-
batchtime: 20160
904+
batchtime: 10080
905905
expansions:
906906
AUTH: noauth
907907
SSL: ssl
@@ -914,7 +914,7 @@ buildvariants:
914914
display_name: OCSP Win64 v4.4 Python3.9
915915
run_on:
916916
- windows-64-vsMulti-small
917-
batchtime: 20160
917+
batchtime: 10080
918918
expansions:
919919
AUTH: noauth
920920
SSL: ssl
@@ -927,7 +927,7 @@ buildvariants:
927927
display_name: OCSP Win64 v8.0 Python3.13
928928
run_on:
929929
- windows-64-vsMulti-small
930-
batchtime: 20160
930+
batchtime: 10080
931931
expansions:
932932
AUTH: noauth
933933
SSL: ssl
@@ -940,7 +940,7 @@ buildvariants:
940940
display_name: OCSP macOS v4.4 Python3.9
941941
run_on:
942942
- macos-14
943-
batchtime: 20160
943+
batchtime: 10080
944944
expansions:
945945
AUTH: noauth
946946
SSL: ssl
@@ -953,7 +953,7 @@ buildvariants:
953953
display_name: OCSP macOS v8.0 Python3.13
954954
run_on:
955955
- macos-14
956-
batchtime: 20160
956+
batchtime: 10080
957957
expansions:
958958
AUTH: noauth
959959
SSL: ssl
@@ -971,21 +971,21 @@ buildvariants:
971971
display_name: Auth OIDC Ubuntu-22
972972
run_on:
973973
- ubuntu2204-small
974-
batchtime: 20160
974+
batchtime: 10080
975975
- name: auth-oidc-macos
976976
tasks:
977977
- name: testoidc_task_group
978978
display_name: Auth OIDC macOS
979979
run_on:
980980
- macos-14
981-
batchtime: 20160
981+
batchtime: 10080
982982
- name: auth-oidc-win64
983983
tasks:
984984
- name: testoidc_task_group
985985
display_name: Auth OIDC Win64
986986
run_on:
987987
- windows-64-vsMulti-small
988-
batchtime: 20160
988+
batchtime: 10080
989989

990990
# Pyopenssl tests
991991
- name: pyopenssl-macos-python3.9

.evergreen/scripts/generate_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def generate_yaml(tasks=None, variants=None):
234234

235235
def create_ocsp_variants() -> list[BuildVariant]:
236236
variants = []
237-
batchtime = BATCHTIME_WEEK * 2
237+
batchtime = BATCHTIME_WEEK
238238
expansions = dict(AUTH="noauth", SSL="ssl", TOPOLOGY="server")
239239
base_display = "OCSP"
240240

@@ -674,7 +674,7 @@ def create_oidc_auth_variants():
674674
tasks,
675675
get_display_name("Auth OIDC", host),
676676
host=host,
677-
batchtime=BATCHTIME_WEEK * 2,
677+
batchtime=BATCHTIME_WEEK,
678678
)
679679
)
680680
return variants

0 commit comments

Comments
 (0)