mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
test: add coverage for unknown -blockfilterindex
This commit is contained in:
parent
44037a2912
commit
295ff61934
@ -250,6 +250,11 @@ class CompactFiltersTest(BitcoinTestFramework):
|
||||
msg = "Error: Cannot set -peerblockfilters without -blockfilterindex."
|
||||
self.nodes[0].assert_start_raises_init_error(expected_msg=msg)
|
||||
|
||||
self.log.info("Test unknown value to -blockfilterindex raises an error")
|
||||
self.nodes[0].extra_args = ["-blockfilterindex=abc"]
|
||||
msg = "Error: Unknown -blockfilterindex value abc."
|
||||
self.nodes[0].assert_start_raises_init_error(expected_msg=msg)
|
||||
|
||||
self.log.info("Test -blockfilterindex with -reindex-chainstate raises an error")
|
||||
self.nodes[0].assert_start_raises_init_error(
|
||||
expected_msg='Error: -reindex-chainstate option is not compatible with -blockfilterindex. '
|
||||
|
Loading…
Reference in New Issue
Block a user