mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
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
0ce1b2ca19
commit
8526b12f3d
@ -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
Block a user