The proxy's opening window rides out its siblings
Browse files at this commit2c8bd0158841dfe9991ec48d2855cc0795a33c47Parent: a670b0a- test
- the proxy's opening window rides out its siblings
1 changed file +4 -2
crates/engine/tests/export.rsmodified+4 -2
| @@ -1058,11 +1058,13 @@ fn a_stopped_proxy_leaves_neither_a_stand_in_nor_half_of_one() { | ||
| 1058 | 1058 | |
| 1059 | 1059 | let job = engine::proxy::generate(&source).expect("start the proxy"); |
| 1060 | 1060 | // Stopped with the encoder really running: a flag set before the worker has |
| 1061 | - // opened anything tests the flag and not the stop. | |
| 1061 | + // opened anything tests the flag and not the stop. Opening costs under a | |
| 1062 | + // second alone, but the sibling exports of this binary can starve it for | |
| 1063 | + // minutes -- the budget is a hang guard, not a speed claim. | |
| 1062 | 1064 | let opening = Instant::now(); |
| 1063 | 1065 | while job.encoder().is_none() && !job.is_finished() { |
| 1064 | 1066 | assert!( |
| 1065 | - opening.elapsed() < Duration::from_secs(120), | |
| 1067 | + opening.elapsed() < Duration::from_secs(600), | |
| 1066 | 1068 | "the encoder never opened" |
| 1067 | 1069 | ); |
| 1068 | 1070 | std::thread::sleep(Duration::from_millis(10)); |