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 <mail@gmelikov.ru>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Igor Kozhukhov <igor@dilos.org>
Closes #9259
This commit is contained in:
Igor K 2019-09-03 20:46:41 +03:00 committed by Tony Hutter
parent 7e93917309
commit 068c5495f0

View File

@ -55,11 +55,11 @@ log_must default_setup_noexit "$REMOVEDISK"
# #
# Create a file of size 1GB and then do some random writes. # Create a file of size 1GB and then do some random writes.
# Since randwritecomp does 8K writes we do 12500 writes # Since randwritecomp does 8K writes we do 25000 writes
# which means we write ~100MB to the vdev. # which means we write ~200MB to the vdev.
# #
log_must mkfile -n 1g $SAMPLEFILE 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. # Add second device where all the data will be evacuated.