Skip to content

Commit

Permalink
Update approval-voting-regression-bench
Browse files Browse the repository at this point in the history
The accepted divergence rate of 1/1000 is execesive and leads to false
positives especially after #4772 and
#5042, so let's increase it to 1/100
since we do have some randomness in the system and there is no point in
being that strict.

Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
  • Loading branch information
alexggh committed Aug 27, 2024
1 parent 6ecbde3 commit cd0ff8d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ fn main() -> Result<(), String> {
// We expect no variance for received and sent
// but use 0.001 because we operate with floats
messages.extend(average_usage.check_network_usage(&[
("Received from peers", 52941.6071, 0.001),
("Sent to peers", 63810.1859, 0.001),
("Received from peers", 52941.6071, 0.01),
("Sent to peers", 63810.1859, 0.01),
]));
messages.extend(average_usage.check_cpu_usage(&[
("approval-distribution", 6.3912, 0.1),
Expand Down

0 comments on commit cd0ff8d

Please sign in to comment.