"ssh:/git@developer.sourcefind.cn:2222/OpenDAS/dynamo.git" did not exist on "fcbd79ab430b1a477443fbcf597a5c13f1cf5ba6"
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() { ...@@ -361,7 +361,7 @@ fn test_online_concurrency_replay_respects_max_in_flight() {
.unwrap(); .unwrap();
assert_eq!(report.request_counts.completed_requests, 4); assert_eq!(report.request_counts.completed_requests, 4);
assert_eq!(stats.max_in_flight_seen, 2); assert!(stats.max_in_flight_seen <= 2);
} }
#[test] #[test]
...@@ -431,7 +431,7 @@ fn test_online_concurrency_replay_kv_router_respects_max_in_flight() { ...@@ -431,7 +431,7 @@ fn test_online_concurrency_replay_kv_router_respects_max_in_flight() {
.unwrap(); .unwrap();
assert_eq!(report.request_counts.completed_requests, 4); assert_eq!(report.request_counts.completed_requests, 4);
assert_eq!(stats.max_in_flight_seen, 2); assert!(stats.max_in_flight_seen <= 2);
} }
#[test] #[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