Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ci/test/cargo-test/mzcompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,10 +351,6 @@ def worker() -> None:
for p in metadata["packages"]
if p["name"] not in ("mz-environmentd", "mz-balancerd")
]
test_threads = multiprocessing.cpu_count() * 2
# Slower test runs, give them more resources to have less contention
if c.metadata_store() == "cockroach":
test_threads //= 2

spawn.runv(
[
Expand All @@ -366,7 +362,11 @@ def worker() -> None:
"--all-features",
"--profile=ci",
"--cargo-profile=ci",
f"--test-threads={test_threads}",
# Be careful about raising this since it will cause
# contention in cargo test when running against CRDB
# for tagged builds. Also increases test flakiness in
# general.
f"--test-threads={multiprocessing.cpu_count()}",
*(
(
pkgs
Expand Down