]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Fix vdev_zaps_004_pos.ksh
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Feb 2022 20:09:06 +0000 (12:09 -0800)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 20:09:06 +0000 (12:09 -0800)
commit7901b62685e91cb5b6d28346e6ffb7e6456326bb
tree68c7b7e07652b7856cf14cd5628ed493fab8b810
parent5eae5a88b258cf955b46a99da07d9d5acad8bacd
ZTS: Fix vdev_zaps_004_pos.ksh

When attaching a vdev to a mirror wait for the resilver to complete
before invoking `zdb` to inspect the pool.  This ensures the pool is
essentially idle which allows `zdb` to open the imported pool reliably.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13112
Closes #6935
tests/test-runner/bin/zts-report.py.in
tests/zfs-tests/tests/functional/vdev_zaps/vdev_zaps_004_pos.ksh