HomePhabricator

fuzz: Disable debug log file

Description

fuzz: Disable debug log file

Summary:

There are several issues with writing to a debug log file when fuzzing:

    Disk access is slow, but fuzzing should be fast (Note: I could not
verify this claim with data)
    Disks have a limited size and will eventually run out of space, but
fuzzing should run continuous

Fix both issues by disabling the debug log file for fuzz tests

Backport of core PR18571.

Depends on D8636.

Test Plan:

ninja all check

ninja bitcoin-fuzzers
./test/fuzz/test_runner.py <path_to_corpus>

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8637

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 8 2020, 23:47
FabienCommitted on Dec 9 2020, 15:43
FabienPushed on Dec 9 2020, 15:44
Reviewer
Restricted Project
Differential Revision
D8637: fuzz: Disable debug log file
Parents
rABC7ef95976cd28: tests: Add deserialization fuzzing of SnapshotMetadata (utxo_snapshot).
Branches
Unknown
Tags
Unknown