Skip to content

Commit 95b7810

Browse files
committed
Split NO_EXT tests into sync and async
1 parent d01091b commit 95b7810

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ buildvariants:
772772
# No c ext tests
773773
- name: no-c-ext-rhel8-python3.9
774774
tasks:
775-
- name: .standalone .noauth .nossl .sync_async
775+
- name: .standalone .noauth .nossl !.sync_async
776776
display_name: No C Ext RHEL8 Python3.9
777777
run_on:
778778
- rhel87-small
@@ -781,7 +781,7 @@ buildvariants:
781781
PYTHON_BINARY: /opt/python/3.9/bin/python3
782782
- name: no-c-ext-rhel8-python3.10
783783
tasks:
784-
- name: .replica_set .noauth .nossl .sync_async
784+
- name: .replica_set .noauth .nossl !.sync_async
785785
display_name: No C Ext RHEL8 Python3.10
786786
run_on:
787787
- rhel87-small
@@ -790,7 +790,7 @@ buildvariants:
790790
PYTHON_BINARY: /opt/python/3.10/bin/python3
791791
- name: no-c-ext-rhel8-python3.11
792792
tasks:
793-
- name: .sharded_cluster .noauth .nossl .sync_async
793+
- name: .sharded_cluster .noauth .nossl !.sync_async
794794
display_name: No C Ext RHEL8 Python3.11
795795
run_on:
796796
- rhel87-small
@@ -799,7 +799,7 @@ buildvariants:
799799
PYTHON_BINARY: /opt/python/3.11/bin/python3
800800
- name: no-c-ext-rhel8-python3.12
801801
tasks:
802-
- name: .standalone .noauth .nossl .sync_async
802+
- name: .standalone .noauth .nossl !.sync_async
803803
display_name: No C Ext RHEL8 Python3.12
804804
run_on:
805805
- rhel87-small
@@ -808,7 +808,7 @@ buildvariants:
808808
PYTHON_BINARY: /opt/python/3.12/bin/python3
809809
- name: no-c-ext-rhel8-python3.13
810810
tasks:
811-
- name: .replica_set .noauth .nossl .sync_async
811+
- name: .replica_set .noauth .nossl !.sync_async
812812
display_name: No C Ext RHEL8 Python3.13
813813
run_on:
814814
- rhel87-small

.evergreen/scripts/generate_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def create_no_c_ext_variants():
588588
variants = []
589589
host = DEFAULT_HOST
590590
for python, topology in zip_cycle(CPYTHONS, TOPOLOGIES):
591-
tasks = [f".{topology} .noauth .nossl .sync_async"]
591+
tasks = [f".{topology} .noauth .nossl !.sync_async"]
592592
expansions = dict()
593593
handle_c_ext(C_EXTS[0], expansions)
594594
display_name = get_display_name("No C Ext", host, python=python)

.evergreen/scripts/setup_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
ROOT = HERE.parent.parent
2222
ENV_FILE = HERE / "test-env.sh"
2323
DRIVERS_TOOLS = os.environ.get("DRIVERS_TOOLS", "").replace(os.sep, "/")
24-
PLATFORM = "windows" if os.name == "nt" else sys.platform
24+
PLATFORM = "windows" if os.name == "nt" else sys.platform.lower()
2525

2626
LOGGER = logging.getLogger(__name__)
2727
logging.basicConfig(level=logging.INFO, format="%(levelname)-8s %(message)s")
@@ -230,7 +230,7 @@ def handle_test_env() -> None:
230230
write_env("SSL", SSL)
231231

232232
# Skip CSOT tests on non-linux platforms.
233-
if sys.platform != "Linux":
233+
if PLATFORM != "linux":
234234
write_env("SKIP_CSOT_TESTS")
235235

236236
# Set an environment variable for the test name and sub test name.

0 commit comments

Comments
 (0)