Skip to content

Commit 115735d

Browse files
author
MarcoFalke
committed
Merge #8280: Tests: Increase sync_blocks() timeouts in pruning.py
36f1b9d Tests: Increase sync_blocks() timeouts in pruning.py (Suhas Daftuar)
2 parents da50997 + 36f1b9d commit 115735d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qa/rpc-tests/pruning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,14 @@ def reorg_test(self):
151151
print("Reconnect nodes")
152152
connect_nodes(self.nodes[0], 1)
153153
connect_nodes(self.nodes[2], 1)
154-
sync_blocks(self.nodes[0:3])
154+
sync_blocks(self.nodes[0:3], timeout=120)
155155

156156
print("Verify height on node 2:",self.nodes[2].getblockcount())
157157
print("Usage possibly still high bc of stale blocks in block files:", calc_usage(self.prunedir))
158158

159159
print("Mine 220 more blocks so we have requisite history (some blocks will be big and cause pruning of previous chain)")
160160
self.nodes[0].generate(220) #node 0 has many large tx's in its mempool from the disconnects
161-
sync_blocks(self.nodes[0:3])
161+
sync_blocks(self.nodes[0:3], timeout=300)
162162

163163
usage = calc_usage(self.prunedir)
164164
print("Usage should be below target:", usage)

0 commit comments

Comments
 (0)