aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2020-11-03 09:20:34 -0800
committerBrian Behlendorf <[email protected]>2020-11-03 09:51:42 -0800
commitab9011e79b34e4a0c5c4f3433102a85400572927 (patch)
tree6b7d3f32cba72e6a25759e28a9bd0e5dd77db021 /tests/zfs-tests
parentb42f36f0b0cb42538870bda81d1d96b9edb27035 (diff)
ZTS: zdb_block_size_histogram increase variance
The expected variance for this test case was originally set at 10% based on local testing. Additional testing via the CI has show it can be as large as 11%. Increase the expected maximum to 12% to prevent this test from incorrectly failing. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #11148
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh
index 0c949f983..8d677affb 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zdb/zdb_block_size_histogram.ksh
@@ -209,11 +209,11 @@ function histo_check_test_pool
# 4096 blocksize count for asize. For verification we stick
# to just lsize counts.
#
- # The max_variance is hard-coded here at 10%. testing so far
- # has shown this to be in the range of 2%-8% so we leave a
- # generous allowance... This might need changes in the future
+ # The max_variance is hard-coded here at 12% to leave us some
+ # margin. Testing has shown this normally to be in the range
+ # of 2%-8%, but it may be as large as 11%.
###################
- let max_variance=10
+ let max_variance=12
let fail_value=0
let error_count=0
log_note "Comparisons for ${pool}"