Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Run the macOS playback and seek verify tests alone so their frame deadlines are not starved (#3366)

Richie McIlroyec22b5465086
diff --git a/.config/nextest.toml b/.config/nextest.toml
index 466fdbcac..457e56c91 100644
--- a/.config/nextest.toml
+++ b/.config/nextest.toml
@@ -48,6 +48,19 @@ filter = '(binary_id(cap-verify::crash) and test(=crash_safety)) or (binary_id(c
threads-required = "num-test-threads"
priority = 100
+# Playback and seek ask for each frame with a deadline (2 s, 10 s for a
+# seek's first frame). On the blacksmith macOS VMs, Apple's video decoding
+# stalls once every core is busy: a standalone AVAssetReader read went from
+# 0.4 ms to 55-77 ms a frame with all 6 cores loaded, and stayed under 1 ms
+# with half of them loaded (a real Mac and the hosted macos-15 VM are
+# unaffected). Shared with the export and chaos tests, frames then missed
+# their deadline ("decoders returned no frame"), so on macOS these run alone,
+# after the wall-clock tests.
+[[profile.ci.overrides]]
+platform = 'cfg(target_os = "macos")'
+filter = '(binary_id(cap-verify::playback) and not test(=realtime_loop)) or binary_id(cap-verify::seek)'
+threads-required = "num-test-threads"
+priority = 90
# The FULL-tier seek storms (3000 seeks per decoder) are the slowest tests:
# on the macos-15 runner one storm fixture takes 240 to 570 s per decoder,
diff --git a/scripts/verify/suites.json b/scripts/verify/suites.json
index 3f19a2759..8283185d0 100644
--- a/scripts/verify/suites.json
+++ b/scripts/verify/suites.json
@@ -340,7 +340,7 @@
"target": "aarch64-apple-darwin",
"shards": {
"fast": 1,
- "full": 2
+ "full": 4
},
"archive": false
},