mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
run-zts test procfs/pool_state failed with uncorrectable I/O failure
Once we trigger the zpool scrub, all zpool/zfs command gets stuck for 180 seconds. Post 180 seconds zpool/zfs commands gets start executing however few more seconds(10s) it take to update the status. hence sleeping for 200 seconds so that we get the correct status. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: vaibhav.bhanawat <vaibhav.bhanawat@delphix.com> Closes #15364
This commit is contained in:
parent
eaa62d9951
commit
0ef1964c79
@ -141,7 +141,11 @@ remove_disk $SDISK
|
|||||||
# background since the command will hang when the pool gets suspended. The
|
# background since the command will hang when the pool gets suspended. The
|
||||||
# command will resume and exit after we restore the missing disk later on.
|
# command will resume and exit after we restore the missing disk later on.
|
||||||
zpool scrub $TESTPOOL2 &
|
zpool scrub $TESTPOOL2 &
|
||||||
sleep 3 # Give the scrub some time to run before we check if it fails
|
# Once we trigger the zpool scrub, all zpool/zfs command gets stuck for 180 seconds.
|
||||||
|
# Post 180 seconds zpool/zfs commands gets start executing however few more seconds(10s)
|
||||||
|
# it take to update the status.
|
||||||
|
# hence sleeping for 200 seconds so that we get the correct status.
|
||||||
|
sleep 200 # Give the scrub some time to run before we check if it fails
|
||||||
|
|
||||||
log_must check_all $TESTPOOL2 "SUSPENDED"
|
log_must check_all $TESTPOOL2 "SUSPENDED"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user