HomeFreeBSD

tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh

Description

tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh
Fix zpool_scrub_002_pos by reducing a race condition. The test
checks that you can cancel a scrub, but zfs is too fast; the scrub
completes before there is an opportunity to cancel it. I don't know
of any way to close this race completely, so instead I'll just
increase the amount of data to scrub, slowing down the scrub
operation.

Sponsored by: Spectra Logic Corp

Details

Provenance
asomersAuthored on
Parents
rS292293: Fix problems with disks disappearing during the ZFS tests, fix some other
Branches
Unknown
Tags
Unknown