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 <behlendorf1@llnl.gov> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes #6395
This commit is contained in:
parent
871e07321c
commit
f6837d9b53
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user