diff options
author | Brian Behlendorf <[email protected]> | 2017-01-23 17:04:26 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2017-01-23 17:04:26 -0800 |
commit | e85d62faaea9871293c1c26675ee665ebe3733e4 (patch) | |
tree | e51e61b47fe0fb42e98ab9d6e6edf62c6d37c636 | |
parent | 3d43125fd465d869c813eb30a0233c0b6aae1209 (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
-rwxr-xr-x | tests/zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh | 1 |
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 |