Skip to content

Commit f56ca3a

Browse files
committed
fix display name
1 parent 4c61066 commit f56ca3a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.evergreen/scripts/generate_config.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,11 @@ def create_server_variants() -> list[BuildVariant]:
241241

242242
# Run the full matrix on linux with min and max CPython, and latest pypy.
243243
host = "rhel8"
244+
# Prefix the display name with an underscore so it is sorted first.
245+
base_display_name = "_Test"
244246
for python in [*MIN_MAX_PYTHON, PYPYS[-1]]:
245-
display_name = f"Test {host}"
246247
expansions = dict(COVERAGE="coverage")
247-
display_name = get_display_name("Test", host, python=python, **expansions)
248+
display_name = get_display_name(base_display_name, host, python=python, **expansions)
248249
variant = create_variant(
249250
[f".{t} .sync_async" for t in TOPOLOGIES],
250251
display_name,
@@ -258,7 +259,7 @@ def create_server_variants() -> list[BuildVariant]:
258259
# Test the rest of the pythons.
259260
for python in CPYTHONS[1:-1] + PYPYS[:-1]:
260261
display_name = f"Test {host}"
261-
display_name = get_display_name("Test", host, python=python)
262+
display_name = get_display_name(base_display_name, host, python=python)
262263
variant = create_variant(
263264
[f"{t} .sync_async" for t in SUB_TASKS],
264265
display_name,
@@ -278,7 +279,7 @@ def create_server_variants() -> list[BuildVariant]:
278279
for version in get_versions_from("6.0"):
279280
tasks.extend(f"{t} .{version} !.sync_async" for t in SUB_TASKS)
280281
expansions = dict(SKIP_CSOT_TESTS="true")
281-
display_name = get_display_name("Test", host, python=python, **expansions)
282+
display_name = get_display_name(base_display_name, host, python=python, **expansions)
282283
variant = create_variant(
283284
tasks,
284285
display_name,

0 commit comments

Comments
 (0)