mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Fix pool_names_001_pos test case
After volume creation wait until the new block devices have settled before destroying them. Failure to do some can result in EBUSY being returned and the test case failing. Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #5636 Closes #5637
This commit is contained in:
parent
3d43125fd4
commit
e85d62faae
@ -108,6 +108,7 @@ do
|
||||
log_must $ZFS snapshot $name/$name@$name
|
||||
log_must $ZFS clone $name/$name@$name $name/clone_$name
|
||||
log_must $ZFS create -V 150m $name/$name/$name
|
||||
block_device_wait
|
||||
|
||||
log_must $ZPOOL destroy $name
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user