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
Tony Hutter <hutter2@llnl.gov>Committed on Feb 17 2022, 1:58 AM
Parents
rGf4c2b21823e7: Fix gcc warning in kfpu_begin()
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG882bc4ad618d: ZTS: Fix zpool_expand_001_pos (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Feb 17 2022, 1:58 AM