mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
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 <chen.bo@intel.com>
This commit is contained in:
parent
faf11d7e9d
commit
be5fc769e9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user