From be5fc769e9204f69a798f66c78849ea73403ebf0 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Fri, 20 Sep 2024 09:28:49 -0700 Subject: [PATCH] tests: Relax rate limit check for group rate limiter The rate-limiter worker now is running on Azure VMs whose performance are more prone to be fluctuate, particularly on block performances. This commit relaxes the limit check for group rate limiter tests to make them less flaky. Signed-off-by: Bo Chen --- tests/integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index a39317b46..62d82e0cc 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -10750,7 +10750,7 @@ mod rate_limiter { } else { parse_fio_output_iops(&output, &fio_ops, num_queues * num_disks).unwrap() }; - assert!(check_rate_limit(measured_rate, limit_rate, 0.1)); + assert!(check_rate_limit(measured_rate, limit_rate, 0.2)); }); let _ = child.kill();