mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-18 07:50:38 +02:00
Merge #20535: test: Fix intermittent feature_taproot issue
fa275e1539941b49fe206ff0bf110e3362bec6bb test: Fix intermittent feature_taproot issue (MarcoFalke) Pull request description: The nodes might disconnect (e.g. due to "Timeout downloading block" https://cirrus-ci.com/task/5313800947630080?command=ci#L1763) and the test fails to continue. Fix that by reconnecting the nodes. ACKs for top commit: laanwj: code review ACK fa275e1539941b49fe206ff0bf110e3362bec6bb Tree-SHA512: 2871183c8058d8292c9c4ef56ea3d19d5616ca712ebdaabb6609f8c9cd2e16c9ac2ce26aa1e94b346872b7b6fec56b59af151af83de3a5aa08bed01bfcc7187a
This commit is contained in:
commit
d38feb6134
@ -1444,6 +1444,10 @@ class TaprootTest(BitcoinTestFramework):
|
||||
self.nodes[1].generate(101)
|
||||
self.test_spenders(self.nodes[1], spenders_taproot_active(), input_counts=[1, 2, 2, 2, 2, 3])
|
||||
|
||||
# Re-connect nodes in case they have been disconnected
|
||||
self.disconnect_nodes(0, 1)
|
||||
self.connect_nodes(0, 1)
|
||||
|
||||
# Transfer value of the largest 500 coins to pre-taproot node.
|
||||
addr = self.nodes[0].getnewaddress()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user