aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-07-25 10:15:17 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-07-25 10:15:20 +0200
commit401db600b074fe12d452a4f958316569a1dc096f (patch)
treed619f32f0954a46ced7411b653f4b4c94ef4f365
parentfd557ceb885ec55ac6865953e7325bcebc5a6972 (diff)
parentfa8bed6a47c88f769ae05b04b93eeaf2e1011478 (diff)
Merge bitcoin/bitcoin#22517: fuzz: Temporarily disable failing assert in banman fuzz test
fa8bed6a47c88f769ae05b04b93eeaf2e1011478 fuzz: Temporarily disable failing assert in banman fuzz test (MarcoFalke) Pull request description: Otherwise the remainder of the fuzz test can't be fuzzed without running into crashes ACKs for top commit: practicalswift: cr ACK fa8bed6a47c88f769ae05b04b93eeaf2e1011478 Tree-SHA512: ec6606292e2cfd26484c7f6caf1c418c377da54111b332990fce68373f0438defda71d931a42ca34431527fbc172dd2fdf29b260afca15b34910ee137de1c365
-rw-r--r--src/test/fuzz/banman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/fuzz/banman.cpp b/src/test/fuzz/banman.cpp
index 182aabc79b..85a2ac990c 100644
--- a/src/test/fuzz/banman.cpp
+++ b/src/test/fuzz/banman.cpp
@@ -109,7 +109,8 @@ FUZZ_TARGET_INIT(banman, initialize_banman)
BanMan ban_man_read{banlist_file, /* client_interface */ nullptr, /* default_ban_time */ 0};
banmap_t banmap_read;
ban_man_read.GetBanned(banmap_read);
- assert(banmap == banmap_read);
+ // Temporarily disabled to allow the remainder of the fuzz test to run while a fix is being worked on:
+ // assert(banmap == banmap_read);
}
}
fs::remove(banlist_file.string() + ".dat");