aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_reindex_readonly.py
diff options
context:
space:
mode:
authorMatthew Zipkin <pinheadmz@gmail.com>2024-04-30 14:03:41 -0400
committerMatthew Zipkin <pinheadmz@gmail.com>2024-04-30 14:14:50 -0400
commitfd6a7d3a13d89d74e161095b0e9bd3570210a40c (patch)
treed08bf5e78d8d708e492f218c9082d2cd5589308c /test/functional/feature_reindex_readonly.py
parent2d3056751bb7d742a802a30503f07dbeb07310ee (diff)
downloadbitcoin-fd6a7d3a13d89d74e161095b0e9bd3570210a40c.tar.xz
test: use sleepy wait-for-log in reindex readonly
Also rename the busy wait-for-log method to prevent recurrence
Diffstat (limited to 'test/functional/feature_reindex_readonly.py')
-rwxr-xr-xtest/functional/feature_reindex_readonly.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_reindex_readonly.py b/test/functional/feature_reindex_readonly.py
index 25cff87a3b..52c0bb26a6 100755
--- a/test/functional/feature_reindex_readonly.py
+++ b/test/functional/feature_reindex_readonly.py
@@ -75,7 +75,7 @@ class BlockstoreReindexTest(BitcoinTestFramework):
if undo_immutable:
self.log.debug("Attempt to restart and reindex the node with the unwritable block file")
- with self.nodes[0].wait_for_debug_log([b"Reindexing finished"]):
+ with self.nodes[0].assert_debug_log(["Reindexing finished"], timeout=60):
self.start_node(0, extra_args=['-reindex', '-fastprune'])
assert block_count == self.nodes[0].getblockcount()
undo_immutable()