HomeFreeBSD

ZTS: Fix zpool_expand_001_pos

Description

ZTS: Fix zpool_expand_001_pos

The dRAID section of the zpool_expand_001_pos test would reliably fail
because the calculated expansion size assumed the dRAID top-level vdev
was created with a distributed spare. Create the vdev as expected to
resolve the test failure.

This test case flaw was accidentally caused by changing the default
number of dRAID distributed spares from one to zero while dRAID was
being developed.

Additionally, remove zpool_expand_005_pos from the list of possible
faulty tests. It appears to be passing consistently in my testing.

Reviewed by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13091

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Feb 13 2022, 10:22 PM
GitHub <noreply@github.com>Committed on Feb 13 2022, 10:22 PM
Parents
rG10271af05c29: Fix gcc warning in kfpu_begin()
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGb7baf49bd331: ZTS: Fix zpool_expand_001_pos (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 13 2022, 10:22 PM