aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe Di Natale <[email protected]>2017-07-24 13:02:42 -0700
committerBrian Behlendorf <[email protected]>2017-07-24 13:02:42 -0700
commitf6837d9b53d44547d640040d5db9e7d152664d4f (patch)
tree9996ab94364485fe525e29d7340111e4b9a0c683
parent871e07321cc66fcea4dccc88fd2a754959ffa679 (diff)
Increase delay for zed log in events tests
In zed event test cases, a brief delay was introduced to allow for events to make it to the zed log. On at least one buildbot builder, the 1 second delay is not long enough. Therefore, increasing the delay should ensure the zed has more than enough time to write to its log. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Giuseppe Di Natale <[email protected]> Closes #6395
-rwxr-xr-xtests/zfs-tests/tests/functional/events/events_common.kshlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/events/events_common.kshlib b/tests/zfs-tests/tests/functional/events/events_common.kshlib
index afefef1f0..9ef97ca62 100755
--- a/tests/zfs-tests/tests/functional/events/events_common.kshlib
+++ b/tests/zfs-tests/tests/functional/events/events_common.kshlib
@@ -68,7 +68,7 @@ function run_and_verify
log_must zpool events > $TMP_EVENTS 2>/dev/null
log_must zpool events -v > $TMP_EVENTS_FULL 2>/dev/null
if [[ -f $zedlog ]]; then
- sleep 1 # Brief delay for the ZED to handle the event.
+ sleep 5 # Brief delay for the ZED to handle the event.
diff $zedlog.old $zedlog | grep "^> " | sed 's/^> //g' \
>$TMP_EVENTS_ZED
fi