HomeFreeBSD

Fix the zfsd_autoreplace_001_neg test

Description

Fix the zfsd_autoreplace_001_neg test

It only ever worked by accident.

  • Actually set autoreplace=off as stated in the description
  • Wait for the removed device to disappear from the pool before proceeding.
  • In the assertion, verify that the new disk does not get added, as described in the description.

Sponsored by: Axcient

(cherry picked from commit be092bcde96bdcfde9013d60e442cca023bfbd1b)

Details

Provenance
asomersAuthored on Jul 5 2023, 10:37 PM
Parents
rG422efa7050a7: Implement GEOM::rotation_rate for gmirror
Branches
Unknown
Tags
Unknown