HomePhabricator

[chronik] test for the "Wiping existing scripthash index" log message

Description

[chronik] test for the "Wiping existing scripthash index" log message

Summary:
Since we just check if the -chronikscripthashindex init flag is unset to return a 400 error, this test was not actually checking that index is wiped the first time the flag is unset. We could be returning that error even with the index still intact on disk.
We can at least check the presence of the relevant log line to verify that we hit the function that is supposed to wipe the index..

Test Plan: ninja check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Thu, Nov 28, 14:10
PiRKPushed on Fri, Nov 29, 09:25
Reviewer
Restricted Project
Differential Revision
D17226: [chronik] test for the "Wiping existing scripthash index" log message
Parents
rABC7926d7e7e6bf: guix: use glibc 2.31
Branches
Unknown
Tags
Unknown