mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-20 14:05:23 +01:00
Merge #20535: test: Fix intermittent feature_taproot issue
fa275e1539
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 ACKfa275e1539
Tree-SHA512: 2871183c8058d8292c9c4ef56ea3d19d5616ca712ebdaabb6609f8c9cd2e16c9ac2ce26aa1e94b346872b7b6fec56b59af151af83de3a5aa08bed01bfcc7187a
This commit is contained in:
commit
d38feb6134
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue