mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 11:40:25 +03:00
ZTS fix events_002_pos.sh failure
Fix spurious events_002_pos failures by waiting longer before grabbing the log to check for the resilver_finish event. It would be better to rework this logic to wait only as long as needed rather than a fixed timeout. Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #6651
This commit is contained in:
parent
787acae0b5
commit
a35b4cc8cc
@ -90,7 +90,7 @@ done
|
||||
|
||||
# 5. Start the ZED and verify it only handled the new missed events.
|
||||
log_must zed_start
|
||||
log_must sleep 3
|
||||
log_must sleep 20
|
||||
diff $ZEDLET_DIR/zed.debug.log.old $ZEDLET_DIR/zed.debug.log | \
|
||||
grep "^> " | sed 's/^> //g' >$TMP_EVENTS_ZED
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user