From f6837d9b53d44547d640040d5db9e7d152664d4f Mon Sep 17 00:00:00 2001 From: Giuseppe Di Natale Date: Mon, 24 Jul 2017 13:02:42 -0700 Subject: [PATCH] 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 Signed-off-by: Giuseppe Di Natale Closes #6395 --- tests/zfs-tests/tests/functional/events/events_common.kshlib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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