From a102903dbf8e795d605f044ca1118c04efb9e201 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 12 Aug 2026 15:39:43 +0000 Subject: [PATCH] test(purgatory): tolerate scheduler delay in activity fixture The activity fixture emitted every 20 ms but allowed only 50 ms of inactivity. Under the exact parallel CI command, CPU-heavy unit tests can delay pipe-reader scheduling beyond that margin and terminate a subprocess that continues producing output. Raise only the fixture inactivity limit to 500 ms while retaining its two-second overall deadline and exact output assertion. Production policy and the separate whole-process-group inactivity test are unchanged. Validated with the focused fetch-helper test. --- src/purgatory/sync/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/purgatory/sync/context.rs b/src/purgatory/sync/context.rs index b58785f..065e4bb 100644 --- a/src/purgatory/sync/context.rs +++ b/src/purgatory/sync/context.rs @@ -1331,7 +1331,7 @@ mod fetch_helper_tests { "fetch_batch", GitFetchRole::Primary, GitProcessPolicy { - inactivity_limit: Duration::from_millis(50), + inactivity_limit: Duration::from_millis(500), termination_grace: Duration::from_millis(50), }, ),