mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-31 03:04:11 +03:00
ZTS: fix wait_scrubbed()
Currently, wait_scrubbed() is the only function of its kind that accepts a timeout, which is 10s by default. This timeout is pretty short for a scrub and causes test failures if we run too long. This patch removes the timeout, instead leaning on the global test suite timeout to ensure the tests keep moving. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tom Caputi <tcaputi@datto.com> Closes #8210
This commit is contained in:
committed by
Brian Behlendorf
parent
2a6078450d
commit
7c46894081
@@ -60,5 +60,5 @@ log_must zpool replace $TESTPOOL $DISK1 $DISK3
|
||||
# Wait for the resilver to finish, and then the subsequent scrub to finish.
|
||||
# Waiting for the scrub has the effect of waiting for both. Timeout after 10
|
||||
# seconds if nothing is happening.
|
||||
log_must wait_scrubbed $TESTPOOL 10
|
||||
log_must wait_scrubbed $TESTPOOL
|
||||
log_pass "Successfully ran the scrub after resilver zedlet"
|
||||
|
||||
Reference in New Issue
Block a user