HomeFreeBSD

zfs: fix the zfsd_hotspare_007_pos test

Description

zfs: fix the zfsd_hotspare_007_pos test

It was trying to destroy the pool while zfsd was detaching the spare, and
"zpool destroy" failed. Fix by waiting until the spare has fully detached.

MFC after: 2 weeks
Sponsored by: Axcient

Details

Provenance
asomersAuthored on
Parents
rS353309: zfs: fix the zfsd_autoreplace_003_pos test
Branches
Unknown
Tags
Unknown