Skip to content

Commit 38ceda4

Browse files
authored
PYTHON-5189 Explicitly test drivers on Graviton processors (#2222)
1 parent 95cedee commit 38ceda4

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,17 @@ buildvariants:
4545
batchtime: 10080
4646
expansions:
4747
NO_EXT: "1"
48+
- name: other-hosts-amazon2023
49+
tasks:
50+
- name: .latest !.sync_async .sharded_cluster .auth .ssl
51+
- name: .latest !.sync_async .replica_set .noauth .ssl
52+
- name: .latest !.sync_async .standalone .noauth .nossl
53+
display_name: Other hosts Amazon2023
54+
run_on:
55+
- amazon2023-arm64-latest-large-m8g
56+
batchtime: 10080
57+
expansions:
58+
NO_EXT: "1"
4859

4960
# Atlas connect tests
5061
- name: atlas-connect-rhel8-python3.9

.evergreen/scripts/generate_config.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,16 @@ class Host:
7373
DEFAULT_HOST = HOSTS["rhel8"]
7474

7575
# Other hosts
76-
OTHER_HOSTS = ["RHEL9-FIPS", "RHEL8-zseries", "RHEL8-POWER8", "RHEL8-arm64"]
76+
OTHER_HOSTS = ["RHEL9-FIPS", "RHEL8-zseries", "RHEL8-POWER8", "RHEL8-arm64", "Amazon2023"]
7777
for name, run_on in zip(
78-
OTHER_HOSTS, ["rhel92-fips", "rhel8-zseries-small", "rhel8-power-small", "rhel82-arm64-small"]
78+
OTHER_HOSTS,
79+
[
80+
"rhel92-fips",
81+
"rhel8-zseries-small",
82+
"rhel8-power-small",
83+
"rhel82-arm64-small",
84+
"amazon2023-arm64-latest-large-m8g",
85+
],
7986
):
8087
HOSTS[name] = Host(name, run_on, name, dict())
8188

@@ -772,9 +779,12 @@ def create_alternative_hosts_variants():
772779
handle_c_ext(C_EXTS[0], expansions)
773780
for host_name in OTHER_HOSTS:
774781
host = HOSTS[host_name]
782+
tags = [".6.0 .standalone !.sync_async"]
783+
if host_name == "Amazon2023":
784+
tags = [f".latest !.sync_async {t}" for t in SUB_TASKS]
775785
variants.append(
776786
create_variant(
777-
[".6.0 .standalone !.sync_async"],
787+
tags,
778788
display_name=get_display_name("Other hosts", host),
779789
batchtime=batchtime,
780790
host=host,

0 commit comments

Comments
 (0)