From e85d62faaea9871293c1c26675ee665ebe3733e4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 23 Jan 2017 17:04:26 -0800 Subject: [PATCH] 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 Signed-off-by: Brian Behlendorf Closes #5636 Closes #5637 --- .../zfs-tests/tests/functional/pool_names/pool_names_001_pos.ksh | 1 + 1 file changed, 1 insertion(+) 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 ad10740f34..1e27b29ac3 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