Set timeout before creating pool in test
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Rob Norris <rob.norris@klarasystems.com> Signed-off-by: Paul Dagnelie <pcd@delphix.com> Closes #15309
This commit is contained in:
parent
2e2a46e0a5
commit
8a9ba769ee
|
@ -48,11 +48,11 @@ function cleanup
|
||||||
|
|
||||||
log_onexit cleanup
|
log_onexit cleanup
|
||||||
|
|
||||||
log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $DISKS
|
|
||||||
|
|
||||||
log_must set_tunable64 TXG_TIMEOUT 5000
|
log_must set_tunable64 TXG_TIMEOUT 5000
|
||||||
log_must sync_pool $TESTPOOL true
|
log_must sync_pool $TESTPOOL true
|
||||||
|
|
||||||
|
log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $DISKS
|
||||||
|
|
||||||
log_must dd if=/dev/urandom of=/$TESTPOOL/file bs=128K count=4
|
log_must dd if=/dev/urandom of=/$TESTPOOL/file bs=128K count=4
|
||||||
log_must clonefile -f /$TESTPOOL/file /$TESTPOOL/clone 0 0 524288
|
log_must clonefile -f /$TESTPOOL/file /$TESTPOOL/clone 0 0 524288
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue