summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-03-26 14:17:26 -0700
committerBrian Behlendorf <[email protected]>2016-03-30 09:30:34 -0700
commitc35b188246899714c156a52fdea179eab3717e92 (patch)
tree389d64ec0167aa2813668631f88ed5fae5969d5b /scripts
parent967798d04afc801e70bb12590e8325a32fb998dd (diff)
Fix zpool_scrub_* test cases
The zpool_scrub_002, zpool_scrub_003, zpool_scrub_004 test cases fail reliably when running against small pools or fast storage. This occurs because the scrub/resilver operation completes before subsequent commands can be run. A one second delay has been added to 10% of zio's in order to ensure the scrub/resilver operation will run for at least several seconds. Signed-off-by: Brian Behlendorf <[email protected]> Closes #4450
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zfs-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/zfs-tests.sh b/scripts/zfs-tests.sh
index 0c8a56c27..dada21917 100755
--- a/scripts/zfs-tests.sh
+++ b/scripts/zfs-tests.sh
@@ -165,7 +165,7 @@ OPTIONS:
-k Disable cleanup after test failure
-f Use files only, disables block device tests
-d DIR Use DIR for files and loopback devices
- -s SIZE Use vdevs of SIZE (default: 4G)
+ -s SIZE Use vdevs of SIZE (default: 2G)
-r RUNFILE Run tests in RUNFILE (default: linux.run)
EXAMPLES: