HomeFreeBSD

ZTS: Fix zpool_expand_001_pos

Description

ZTS: Fix zpool_expand_001_pos

zpool_expand_001_pos was often failing due to not seeing autoexpand
commands in the zpool history. During testing, I found this to be
unreliable (sometimes the "online" wouldn't appear in zpool history)
and unnecessary, as we could simply check that the pool increased in
size.

This commit revamps the test to check for the expanded pool size
and corresponding new free space.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #13743

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Aug 9 2022, 8:26 PM
GitHub <noreply@github.com>Committed on Aug 9 2022, 8:26 PM
Parents
rG91983265b62c: Add comment on acb_zio_dummy
Branches
Unknown
Tags
Unknown