mirror of
https://git.proxmox.com/git/mirror_zfs
synced 2025-04-28 11:40:17 +00:00
ZTS: Reduce file size in redacted_panic to 1GB
This test takes 3 minutes on RELEASE FreeBSD bots, but on CURRENT, probably due to debugging it has in kernel, it does not complete within 10 minutes, ending up killed. As I see all the redacting here happens within the first ~128MB of the file, so I hope it won't matter if there is 1GB of data instead of 2GB. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de> Signed-off-by:Alexander Motin <mav@FreeBSD.org> Sponsored by: iXsystems, Inc. Closes #11141
This commit is contained in:
parent
0f6d955a35
commit
0fea7fc109
@ -39,7 +39,7 @@ function cleanup
|
||||
log_onexit cleanup
|
||||
|
||||
log_must zfs create -o recsize=8k $sendfs
|
||||
log_must dd if=/dev/urandom of=/$sendfs/file bs=1024k count=2048
|
||||
log_must dd if=/dev/urandom of=/$sendfs/file bs=1024k count=1024
|
||||
log_must zfs snapshot $sendfs@init
|
||||
log_must zfs clone $sendfs@init $clone
|
||||
log_must stride_dd -i /dev/urandom -o /$clone/file -b 8192 -s 2 -c 7226
|
||||
|
Loading…
Reference in New Issue
Block a user