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

Committed
asomersOct 9 2019, 8:16 PM
Parents
rS353365: Add a missing macro for the previous commit (IS_INADDR_ANY()).
Branches
Unknown
Tags
Unknown