diff options
author | Brian Behlendorf <[email protected]> | 2021-10-11 10:49:13 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-10-11 10:49:13 -0700 |
commit | 72f06d01b555503245b45690ec645d4bfc43c939 (patch) | |
tree | d38d1f03c234a151c16a1d46eba41656ef99fac7 /tests/zfs-tests | |
parent | a5b464263bc1f9fd833272a9e691cd479bf47d5d (diff) |
ZTS: deadman_sync fix
In the CI environment it's possible for events to be slightly
delayed resulting in 4, instead of 5, events appearing in the
log file. This isn't a problem and should be considered a
success to avoid false positive test results.
Reviewed-by: George Melikov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #12625
Diffstat (limited to 'tests/zfs-tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh b/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh index b0b03f5d5..fd6e8c858 100755 --- a/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh +++ b/tests/zfs-tests/tests/functional/deadman/deadman_sync.ksh @@ -80,10 +80,10 @@ else fi log_must zpool events -# Verify at least 5 deadman events were logged. The first after 5 seconds, +# Verify at least 4 deadman events were logged. The first after 5 seconds, # and another each second thereafter until the delay is clearer. events=$(zpool events | grep -c ereport.fs.zfs.deadman) -if [ "$events" -lt 5 ]; then +if [ "$events" -lt 4 ]; then log_fail "Expect >=5 deadman events, $events found" fi |