mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-05-23 06:54:58 +03:00
ZTS: Fix replacement/resilver_restart_001 on FreeBSD
Decrease the RESILVER_MIN_TIME_MS variable from 50 to 20. So the test, which expects two 2 resilver starts will see them. Logfile of the seen failures before this fix: log: NOTE: expected 2 resilver start(s) after offline/online, found 1 log: expected 2 resilver start(s) after offline/online, found 1 The test time decreases also from around 00:42 to 00:24 seconds. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #16822 Closes #17279
This commit is contained in:
parent
27f3d94940
commit
3b18877269
@ -154,7 +154,7 @@ do
|
||||
log_must zpool events -c
|
||||
|
||||
# limit scanning time
|
||||
log_must set_tunable32 RESILVER_MIN_TIME_MS 50
|
||||
log_must set_tunable32 RESILVER_MIN_TIME_MS 20
|
||||
|
||||
# initiate a resilver and suspend the scan as soon as possible
|
||||
log_must zpool replace $TESTPOOL1 $VDEV_REPLACE
|
||||
|
Loading…
Reference in New Issue
Block a user