diff --git a/bench/build.test.py b/bench/build.test.py index 077f2716525..fa963993129 100644 --- a/bench/build.test.py +++ b/bench/build.test.py @@ -20,6 +20,9 @@ def test_base_builds_report_errors_and_distinguish_new_targets(self): repo = Path(directory) / "repo" repo.mkdir() shutil.copytree(ROOT / "bench", repo / "bench", ignore=shutil.ignore_patterns("__pycache__")) + # The fixture measures nothing, and `just gh test` runs it in every gate, which must + # not wait behind another session's benchmark for the host lock. + (repo / "bench/lock.sh").write_text("bench_lock() { :; }\n") (repo / ".cargo").mkdir() (repo / ".cargo/config.toml").touch() (repo / ".gitignore").write_text(".tmp/\ntarget/\n")