From 2c8bd0158841dfe9991ec48d2855cc0795a33c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 19 Aug 2026 17:52:44 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(engine):=20the=20proxy's=20ope?= =?UTF-8?q?ning=20window=20rides=20out=20its=20siblings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The encoder opens in under a second alone, but the binary's other exports can starve the worker for minutes -- 120 s tripped three times this sweep, twice under suite load and once under the binary's own. 600 s now: a hang guard, not a speed claim, same law as the AV1 budget. --- crates/engine/tests/export.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/crates/engine/tests/export.rs b/crates/engine/tests/export.rs index 4d05b2d..aaf836c 100644 --- a/crates/engine/tests/export.rs +++ b/crates/engine/tests/export.rs @@ -1058,11 +1058,13 @@ fn a_stopped_proxy_leaves_neither_a_stand_in_nor_half_of_one() { let job = engine::proxy::generate(&source).expect("start the proxy"); // Stopped with the encoder really running: a flag set before the worker has - // opened anything tests the flag and not the stop. + // opened anything tests the flag and not the stop. Opening costs under a + // second alone, but the sibling exports of this binary can starve it for + // minutes -- the budget is a hang guard, not a speed claim. let opening = Instant::now(); while job.encoder().is_none() && !job.is_finished() { assert!( - opening.elapsed() < Duration::from_secs(120), + opening.elapsed() < Duration::from_secs(600), "the encoder never opened" ); std::thread::sleep(Duration::from_millis(10));