Unverified Commit 68628976 authored by Yan Ru Pei's avatar Yan Ru Pei Committed by GitHub
Browse files

test(mocker): relax flaky online max-in-flight checks (#7688)


Signed-off-by: default avatarPeaBrane <yanrpei@gmail.com>
parent 19447d66
......@@ -361,7 +361,7 @@ fn test_online_concurrency_replay_respects_max_in_flight() {
.unwrap();
assert_eq!(report.request_counts.completed_requests, 4);
assert_eq!(stats.max_in_flight_seen, 2);
assert!(stats.max_in_flight_seen <= 2);
}
#[test]
......@@ -431,7 +431,7 @@ fn test_online_concurrency_replay_kv_router_respects_max_in_flight() {
.unwrap();
assert_eq!(report.request_counts.completed_requests, 4);
assert_eq!(stats.max_in_flight_seen, 2);
assert!(stats.max_in_flight_seen <= 2);
}
#[test]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment