From 029fc4d383d5e2695e2efd1b0dbdf41f0ee8ccde Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 26 Oct 2024 05:13:30 +0400 Subject: [PATCH] Fix feature_init.py --- test/functional/feature_init.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/feature_init.py b/test/functional/feature_init.py index e6c413f974..9c3c04e7b9 100755 --- a/test/functional/feature_init.py +++ b/test/functional/feature_init.py @@ -48,7 +48,7 @@ def sigterm_node(): def start_expecting_error(err_fragment): node.assert_start_raises_init_error( - extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1', '-checkblocks=200', '-checklevel=4'], + extra_args=['-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1', '-checkblocks=2100', '-checklevel=4'], expected_msg=err_fragment, match=ErrorMatch.PARTIAL_REGEX, ) @@ -137,7 +137,7 @@ def check_clean_start(): # Since the genesis block is not checked by -checkblocks, the # perturbation window must be chosen such that a higher block # in blk*.dat is affected. - tf.seek(150) + tf.seek(500) tf.write(b"1" * 200) start_expecting_error(err_fragment)