]> granicus.if.org Git - zfs/commit
ZTS: Fix vdev_zaps_005_pos on CentOS 6
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 22 Aug 2019 15:53:44 +0000 (08:53 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Aug 2019 15:53:44 +0000 (08:53 -0700)
commit20f7b917aaabd16b41321e9c4dc9f11996ca3683
tree5a2f9c1c589cd2bd7c25625fae71e91ea7ae8169
parenta9ebdfdd43204b8f907c5395cd68b2d745544730
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 <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9199
tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_005_pos.ksh