summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor K <[email protected]>2019-09-03 20:46:41 +0300
committerBrian Behlendorf <[email protected]>2019-09-03 10:46:40 -0700
commit1a504d27df4657d394d9a924c2e7796b692ff993 (patch)
treecb70d3fc8e9e4fc048e32a1a7347787288391f3d
parent6988f3ed9af7e9e253ee49115cbc6c4d835dd53d (diff)
ZTS: Fix removal_cancel.ksh
Create a larger file to extend the time required to perform the removal. Occasional failures were observed due to the removal completing before the cancel could be requested. Reviewed-by: George Melikov <[email protected]> Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Igor Kozhukhov <[email protected]> Closes #9259
-rwxr-xr-xtests/zfs-tests/tests/functional/removal/removal_cancel.ksh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh b/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh
index e7fa6abb8..afb318ef2 100755
--- a/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh
+++ b/tests/zfs-tests/tests/functional/removal/removal_cancel.ksh
@@ -55,11 +55,11 @@ log_must default_setup_noexit "$REMOVEDISK"
#
# Create a file of size 1GB and then do some random writes.
-# Since randwritecomp does 8K writes we do 12500 writes
-# which means we write ~100MB to the vdev.
+# Since randwritecomp does 8K writes we do 25000 writes
+# which means we write ~200MB to the vdev.
#
log_must mkfile -n 1g $SAMPLEFILE
-log_must randwritecomp $SAMPLEFILE 12500
+log_must randwritecomp $SAMPLEFILE 25000
#
# Add second device where all the data will be evacuated.