diff options
author | Brian Behlendorf <[email protected]> | 2019-08-22 08:53:44 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-08-22 08:53:44 -0700 |
commit | 20f7b917aaabd16b41321e9c4dc9f11996ca3683 (patch) | |
tree | 5a2f9c1c589cd2bd7c25625fae71e91ea7ae8169 | |
parent | a9ebdfdd43204b8f907c5395cd68b2d745544730 (diff) |
ZTS: Fix vdev_zaps_005_pos on CentOS 6
The ancient version of blkid (v2.17.2) used in CentOS 6 will not
detect the newly created pool unless it has been written to.
Force a pool sync so `zpool import` will detect the newly created
pool.
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #9199
-rwxr-xr-x | tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh index 8cf8e6d40..066be917e 100755 --- a/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh +++ b/tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh @@ -41,6 +41,7 @@ orig_top=$(get_top_vd_zap $DISK $conf) orig_leaf=$(get_leaf_vd_zap $DISK $conf) assert_zap_common $TESTPOOL $DISK "top" $orig_top assert_zap_common $TESTPOOL $DISK "leaf" $orig_leaf +log_must zpool sync # Export the pool. log_must zpool export $TESTPOOL |