From 29eca2921dfe6c03980fb0ea9466a828138cf84c Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Thu, 30 Apr 2026 07:56:42 -0400 Subject: [PATCH] test(core): avoid default retry delay in exhaustion test --- lib/crates/fabro-core/src/executor.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/crates/fabro-core/src/executor.rs b/lib/crates/fabro-core/src/executor.rs index d92a89daf..3c6987095 100644 --- a/lib/crates/fabro-core/src/executor.rs +++ b/lib/crates/fabro-core/src/executor.rs @@ -1158,7 +1158,15 @@ mod tests { }) } fn retry_policy(&self, _n: &TestNode, _g: &TestGraph) -> RetryPolicy { - RetryPolicy::with_max_attempts(2) + RetryPolicy { + max_attempts: 2, + backoff: BackoffPolicy { + initial_delay: Duration::from_millis(1), + factor: 1.0, + max_delay: Duration::from_millis(1), + jitter: false, + }, + } } } let g = TestGraph::new(vec![TestNode::new("start")], vec![], "start");