diff options
author | Matthew Zipkin <pinheadmz@gmail.com> | 2024-04-30 14:03:41 -0400 |
---|---|---|
committer | Matthew Zipkin <pinheadmz@gmail.com> | 2024-04-30 14:14:50 -0400 |
commit | fd6a7d3a13d89d74e161095b0e9bd3570210a40c (patch) | |
tree | d08bf5e78d8d708e492f218c9082d2cd5589308c /test/functional/feature_reindex_readonly.py | |
parent | 2d3056751bb7d742a802a30503f07dbeb07310ee (diff) | |
download | bitcoin-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-x | test/functional/feature_reindex_readonly.py | 2 |
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() |