summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2017-01-23 17:04:26 -0800
committerGitHub <[email protected]>2017-01-23 17:04:26 -0800
commite85d62faaea9871293c1c26675ee665ebe3733e4 (patch)
treee51e61b47fe0fb42e98ab9d6e6edf62c6d37c636 /tests
parent3d43125fd465d869c813eb30a0233c0b6aae1209 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #5636 Closes #5637
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh b/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh
index ad10740f3..1e27b29ac 100755
--- a/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh
+++ b/tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh
@@ -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