Skip to content

Commit

Permalink
tests: Relax rate limit check for group rate limiter
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
likebreath committed Sep 20, 2024
1 parent 990ba06 commit c59bcd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c59bcd2

Please sign in to comment.