mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user