From e7606063ab31a7c0a686dc1bc5294b96cd117eff Mon Sep 17 00:00:00 2001 From: Fabro Date: Mon, 4 May 2026 04:27:48 +0000 Subject: [PATCH] fabro(01KQRF98KVJANMHY45N67NTKPC): fixup (succeeded) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fabro-Run: 01KQRF98KVJANMHY45N67NTKPC Fabro-Completed: 9 ⚒️ Generated with [Fabro](https://fabro.sh) --- lib/crates/fabro-server/tests/it/scenario/usage.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/crates/fabro-server/tests/it/scenario/usage.rs b/lib/crates/fabro-server/tests/it/scenario/usage.rs index 976e0bf69..318cf6650 100644 --- a/lib/crates/fabro-server/tests/it/scenario/usage.rs +++ b/lib/crates/fabro-server/tests/it/scenario/usage.rs @@ -150,5 +150,8 @@ fn assert_non_llm_billing(billing: &serde_json::Value, expected_stage_ids: &[&st let total_runtime_secs = billing["totals"]["runtime_secs"] .as_f64() .expect("totals should include runtime_secs"); - assert_eq!(total_runtime_secs, runtime_secs); + assert!( + (total_runtime_secs - runtime_secs).abs() < f64::EPSILON, + "total_runtime_secs ({total_runtime_secs}) should equal sum of stage runtimes ({runtime_secs})" + ); }