Skip to content

Commit 9ed0a4a

Browse files
committed
test: feature_maxuploadtarget: Adjust loop iterations after P2TR support
enabled. The generated block size changed after P2TR default support integration, therefore number of iterations in the loop has to be increased to verify the max available upload target.
1 parent 569528d commit 9ed0a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/feature_maxuploadtarget.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def run_test(self):
106106
assert_equal(len(self.nodes[0].getpeerinfo()), 3)
107107
# At most a couple more tries should succeed (depending on how long
108108
# the test has been running so far).
109-
for _ in range(10):
109+
for _ in range(100):
110110
p2p_conns[0].send_message(getdata_request)
111111
p2p_conns[0].wait_for_disconnect()
112112
assert_equal(len(self.nodes[0].getpeerinfo()), 2)

0 commit comments

Comments
 (0)