Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 23:50:58 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r292294 - projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_scrub
Message-ID:  <201512152350.tBFNow55037620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512152350.tBFNow55037620>