]> git.proxmox.com Git - mirror_zfs.git/commitdiff
ZTS: zpool_resilver_restart
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 13 Jan 2019 18:01:31 +0000 (10:01 -0800)
committerGitHub <noreply@github.com>
Sun, 13 Jan 2019 18:01:31 +0000 (10:01 -0800)
Since the vdev initialize feature was integrated the ZTS
zpool_resilver_restart test has been hitting its internal
timeout more frequently.  This happens most often on
the coverage builder but not exclusively.  Increasing the
timeout for this test case prevents any false positives.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8273

tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver.cfg
tests/zfs-tests/tests/functional/cli_root/zpool_resilver/zpool_resilver_restart.ksh

index 5c013c72322ff5ab02ad83165fb7ab445185aacb..2a942d69f6d066105f1ca9f9dd021dafa2730733 100644 (file)
@@ -27,4 +27,4 @@ export DISK1=$(echo $DISKS | nawk '{print $1}')
 export DISK2=$(echo $DISKS | nawk '{print $2}')
 export DISK3=$(echo $DISKS | nawk '{print $3}')
 
-export MAXTIMEOUT=80
+export MAXTIMEOUT=300
index 4f98ced960a9aa29d597167b93c4a6a701410357..cfafbb6b54cbcfcb647ca02b12f84fec1397c07b 100755 (executable)
@@ -33,7 +33,7 @@
 #      "Verify 'zpool resilver' restarts in-progress resilvers"
 #
 # STRATEGY:
-#      1. Write some data and detatch the first drive so it has resilver
+#      1. Write some data and detach the first drive so it has resilver
 #         work to do
 #      2. Repeat the process with a second disk
 #      3. Reattach the drives, causing the second drive's resilver to be
@@ -56,7 +56,7 @@ log_assert "Verify 'zpool resilver' restarts in-progress resilvers"
 
 mntpnt=$(get_prop mountpoint $TESTPOOL/$TESTFS)
 
-# 1. Write some data and detatch the first drive so it has resilver work to do
+# 1. Write some data and detach the first drive so it has resilver work to do
 log_must file_write -b 524288 -c 1024 -o create -d 0 -f $mntpnt/biggerfile1
 log_must sync
 log_must zpool detach $TESTPOOL $DISK2