diff options
author | Giuseppe Di Natale <[email protected]> | 2018-03-07 09:53:04 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-03-07 09:53:04 -0800 |
commit | a07ad58847158fcd90a2a98f1476a81bfcd3c3ac (patch) | |
tree | b8597fd267bac6841d6370d527441918ee6b2e35 /tests/zfs-tests/cmd/Makefile.am | |
parent | 639b18944a6a3483c02039621c02dac08a954a90 (diff) |
Fix dbufstats_001_pos
Implement a new helper within_tolerance to test if a value
is within range of a target.
Because the dbufstats and dbufs kstat file are being read
at slightly different times, it is possible for stats to be
slightly off. Use within_tolerance to determine if the value
is "close enough" to the target.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #7239
Closes #7266
Diffstat (limited to 'tests/zfs-tests/cmd/Makefile.am')
0 files changed, 0 insertions, 0 deletions