Skip to content

Commit d38feb6

Browse files
committed
Merge #20535: test: Fix intermittent feature_taproot issue
fa275e1 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 fa275e1 Tree-SHA512: 2871183c8058d8292c9c4ef56ea3d19d5616ca712ebdaabb6609f8c9cd2e16c9ac2ce26aa1e94b346872b7b6fec56b59af151af83de3a5aa08bed01bfcc7187a
2 parents 5c4911e + fa275e1 commit d38feb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/functional/feature_taproot.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,10 @@ def run_test(self):
14441444
self.nodes[1].generate(101)
14451445
self.test_spenders(self.nodes[1], spenders_taproot_active(), input_counts=[1, 2, 2, 2, 2, 3])
14461446

1447+
# Re-connect nodes in case they have been disconnected
1448+
self.disconnect_nodes(0, 1)
1449+
self.connect_nodes(0, 1)
1450+
14471451
# Transfer value of the largest 500 coins to pre-taproot node.
14481452
addr = self.nodes[0].getnewaddress()
14491453

0 commit comments

Comments
 (0)