Fix age bucket rendering issue (#16492)

This commit is contained in:
fzyzcjy
2026-01-05 09:29:14 -08:00
committed by GitHub
parent 2b4d6d813b
commit 1e41069ad1
3 changed files with 78 additions and 38 deletions
@@ -97,11 +97,7 @@ async fn test_inflight_request_appears_in_bucket() {
);
let buckets = tracker_clone.compute_bucket_counts();
assert!(buckets[0] > 0, "first bucket should have requests");
assert!(
*buckets.last().unwrap() > 0,
"+Inf bucket should have requests"
);
assert!(buckets[0] > 0, "first bucket (<=30s) should have requests");
let resp = response_future.await.unwrap().unwrap();
assert_eq!(resp.status(), StatusCode::OK);