Skip to content

Commit 2127cbf

Browse files
committed
PYTHON-5316 Update tests for other hosts
1 parent b83389d commit 2127cbf

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildvariants:
22
# Alternative hosts tests
33
- name: openssl-1.0.2-rhel7-python3.9
44
tasks:
5-
- name: .5.0 .standalone !.sync_async
5+
- name: .standard-linux .server-5.0
66
display_name: OpenSSL 1.0.2 RHEL7 Python3.9
77
run_on:
88
- rhel79-small
@@ -11,7 +11,7 @@ buildvariants:
1111
PYTHON_BINARY: /opt/python/3.9/bin/python3
1212
- name: other-hosts-rhel9-fips
1313
tasks:
14-
- name: .6.0 .standalone !.sync_async
14+
- name: .standard-linux .server-latest
1515
display_name: Other hosts RHEL9-FIPS
1616
run_on:
1717
- rhel92-fips
@@ -21,7 +21,7 @@ buildvariants:
2121
REQUIRE_FIPS: "1"
2222
- name: other-hosts-rhel8-zseries
2323
tasks:
24-
- name: .6.0 .standalone !.sync_async
24+
- name: .standard-linux .server-latest
2525
display_name: Other hosts RHEL8-zseries
2626
run_on:
2727
- rhel8-zseries-small
@@ -30,7 +30,7 @@ buildvariants:
3030
NO_EXT: "1"
3131
- name: other-hosts-rhel8-power8
3232
tasks:
33-
- name: .6.0 .standalone !.sync_async
33+
- name: .standard-linux .server-latest
3434
display_name: Other hosts RHEL8-POWER8
3535
run_on:
3636
- rhel8-power-small
@@ -39,7 +39,7 @@ buildvariants:
3939
NO_EXT: "1"
4040
- name: other-hosts-rhel8-arm64
4141
tasks:
42-
- name: .6.0 .standalone !.sync_async
42+
- name: .standard-linux .server-latest
4343
display_name: Other hosts RHEL8-arm64
4444
run_on:
4545
- rhel82-arm64-small
@@ -48,9 +48,7 @@ buildvariants:
4848
NO_EXT: "1"
4949
- name: other-hosts-amazon2023
5050
tasks:
51-
- name: .latest !.sync_async .sharded_cluster .auth .ssl
52-
- name: .latest !.sync_async .replica_set .noauth .ssl
53-
- name: .latest !.sync_async .standalone .noauth .nossl
51+
- name: .standard-linux .server-latest
5452
display_name: Other hosts Amazon2023
5553
run_on:
5654
- amazon2023-arm64-latest-large-m8g

.evergreen/scripts/generate_config.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def create_alternative_hosts_variants():
550550
host = HOSTS["rhel7"]
551551
variants.append(
552552
create_variant(
553-
[".5.0 .standalone !.sync_async"],
553+
[".standard-linux .server-5.0"],
554554
get_variant_name("OpenSSL 1.0.2", host, python=CPYTHONS[0]),
555555
host=host,
556556
python=CPYTHONS[0],
@@ -564,9 +564,7 @@ def create_alternative_hosts_variants():
564564
host = HOSTS[host_name]
565565
if "fips" in host_name.lower():
566566
expansions["REQUIRE_FIPS"] = "1"
567-
tags = [".6.0 .standalone !.sync_async"]
568-
if host_name == "Amazon2023":
569-
tags = [f".latest !.sync_async {t}" for t in SUB_TASKS]
567+
tags = [".standard-linux .server-latest"]
570568
variants.append(
571569
create_variant(
572570
tags,

0 commit comments

Comments
 (0)