svn commit: r292294 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub
Alan Somers
asomers at FreeBSD.org
Tue Dec 15 23:50:59 UTC 2015
Author: asomers
Date: Tue Dec 15 23:50:57 2015
New Revision: 292294
URL: https://svnweb.freebsd.org/changeset/base/292294
Log:
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
Modified:
projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh
Modified: projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh
==============================================================================
--- projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh Tue Dec 15 23:49:29 2015 (r292293)
+++ projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub/setup.ksh Tue Dec 15 23:50:57 2015 (r292294)
@@ -37,7 +37,7 @@ default_mirror_setup_noexit $DISK1 $DISK
mntpnt=$(get_prop mountpoint $TESTPOOL)
typeset -i i=0
while ((i < 10)); do
- log_must $MKFILE 200M $mntpnt/bigfile.$i
+ log_must $MKFILE 500M $mntpnt/bigfile.$i
((i += 1))
done
More information about the svn-src-projects
mailing list