Skip to content

Commit fa69f88

Browse files
author
MarcoFalke
committed
fuzz: Disable debug log file
1 parent fa0cbd4 commit fa69f88

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

src/test/fuzz/process_message.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,17 @@ const std::map<std::string, std::set<std::string>> EXPECTED_DESERIALIZATION_EXCE
5757
{"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}},
5858
};
5959

60-
const RegTestingSetup* g_setup;
60+
const TestingSetup* g_setup;
6161
} // namespace
6262

6363
void initialize()
6464
{
65-
static RegTestingSetup setup{};
65+
static TestingSetup setup{
66+
CBaseChainParams::REGTEST,
67+
{
68+
"-nodebuglogfile",
69+
},
70+
};
6671
g_setup = &setup;
6772

6873
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {

src/test/fuzz/process_messages.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@
1616
#include <validation.h>
1717
#include <validationinterface.h>
1818

19-
const RegTestingSetup* g_setup;
19+
const TestingSetup* g_setup;
2020

2121
void initialize()
2222
{
23-
static RegTestingSetup setup{};
23+
static TestingSetup setup{
24+
CBaseChainParams::REGTEST,
25+
{
26+
"-nodebuglogfile",
27+
},
28+
};
2429
g_setup = &setup;
2530

2631
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {

0 commit comments

Comments
 (0)