Fix age bucket rendering issue (#16492)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user