Skip to content

Commit c847f25

Browse files
committed
update evergreen config to run this pyopenssl on async as well (not sure if this is correct or not, we'll seeeeee)
1 parent d9dfb99 commit c847f25

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

.evergreen/generated_configs/variants.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,8 @@ buildvariants:
729729
# Pyopenssl tests
730730
- name: pyopenssl-macos-python3.9
731731
tasks:
732-
- name: .replica_set .noauth .nossl .sync
733-
- name: .7.0 .noauth .nossl .sync
732+
- name: .replica_set .noauth .nossl .sync_async
733+
- name: .7.0 .noauth .nossl .sync_async
734734
display_name: PyOpenSSL macOS Python3.9
735735
run_on:
736736
- macos-14
@@ -773,8 +773,8 @@ buildvariants:
773773
PYTHON_BINARY: /opt/python/3.12/bin/python3
774774
- name: pyopenssl-win64-python3.13
775775
tasks:
776-
- name: .replica_set .auth .ssl .sync
777-
- name: .7.0 .auth .ssl .sync
776+
- name: .replica_set .auth .ssl .sync_async
777+
- name: .7.0 .auth .ssl .sync_async
778778
display_name: PyOpenSSL Win64 Python3.13
779779
run_on:
780780
- windows-64-vsMulti-small

.evergreen/scripts/generate_config.py

+19-8
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,25 @@ def create_pyopenssl_variants():
262262
host = DEFAULT_HOST
263263

264264
display_name = get_variant_name(base_name, host, python=python)
265-
variant = create_variant(
266-
[f".replica_set .{auth} .{ssl} .sync", f".7.0 .{auth} .{ssl} .sync"],
267-
display_name,
268-
python=python,
269-
host=host,
270-
expansions=expansions,
271-
batchtime=batchtime,
272-
)
265+
# only need to run some on async
266+
if python in (CPYTHONS[0], CPYTHONS[-1]):
267+
variant = create_variant(
268+
[f".replica_set .{auth} .{ssl} .sync_async", f".7.0 .{auth} .{ssl} .sync_async"],
269+
display_name,
270+
python=python,
271+
host=host,
272+
expansions=expansions,
273+
batchtime=batchtime,
274+
)
275+
else:
276+
variant = create_variant(
277+
[f".replica_set .{auth} .{ssl} .sync", f".7.0 .{auth} .{ssl} .sync"],
278+
display_name,
279+
python=python,
280+
host=host,
281+
expansions=expansions,
282+
batchtime=batchtime,
283+
)
273284
variants.append(variant)
274285

275286
return variants

0 commit comments

Comments
 (0)