test(pm): keep FFmpeg's musl gaps when the re-pin test narrows its gap table

The test replaced FFmpeg's gaps with only the bionic entry, which now
turns the musl targets back on and asks BtbN for a glibc build that
FFmpeg.fetch_url refuses on musl. Extend the real table instead.
This commit is contained in:
teknium1
2026-09-27 01:11:53 -07:00
committed by Teknium
parent f5c3c7d70a
commit 5cbca02510

View File

@@ -156,7 +156,7 @@ def test_resolution_reuses_successful_responses_but_refreshes_next_operation(ups
# Manual re-pinning also needs a short-lived index scope after removing
# the old process-wide FFmpeg indexes. Pin real bytes into a real lock.
failures.clear()
monkeypatch.setattr(package, "gaps", {"linux-arm64-bionic": "separate supplier"})
monkeypatch.setattr(package, "gaps", {**package.gaps, "linux-arm64-bionic": "separate supplier"})
body = b"advertised ffmpeg artifact"
for urls in decision.artifact_updates.values():
RangeHandler.payloads[urlsplit(urls[0]).path] = body