From 8a9ba769ee50ef94a7d726f8301796d7a9a7fa1e Mon Sep 17 00:00:00 2001 From: Paul Dagnelie Date: Mon, 25 Sep 2023 11:14:00 -0700 Subject: [PATCH] Set timeout before creating pool in test Reviewed-by: Brian Behlendorf Reviewed-by: Rob Norris Signed-off-by: Paul Dagnelie Closes #15309 --- .../block_cloning_copyfilerange_fallback_same_txg.ksh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh index 74c5a5bece..17ce5c9ba7 100755 --- a/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh +++ b/tests/zfs-tests/tests/functional/block_cloning/block_cloning_copyfilerange_fallback_same_txg.ksh @@ -48,11 +48,11 @@ function cleanup log_onexit cleanup -log_must zpool create -o feature@block_cloning=enabled $TESTPOOL $DISKS - log_must set_tunable64 TXG_TIMEOUT 5000 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 clonefile -f /$TESTPOOL/file /$TESTPOOL/clone 0 0 524288