HomeFreeBSD

ZFS: fix the zpool_add_010_pos test

Description

ZFS: fix the zpool_add_010_pos test

The test is necessarily racy, because it depends on being able to complete a
"zpool add" before a previous resilver finishes. But it was racier than it
needed to be. Move the first "zpool add" to before the resilver starts.

MFC after: 2 weeks
Sponsored by: Axcient

Details

Provenance
asomersAuthored on
Parents
rS353365: Add a missing macro for the previous commit (IS_INADDR_ANY()).
Branches
Unknown
Tags
Unknown