File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,14 +151,14 @@ def reorg_test(self):
151
151
print ("Reconnect nodes" )
152
152
connect_nodes (self .nodes [0 ], 1 )
153
153
connect_nodes (self .nodes [2 ], 1 )
154
- sync_blocks (self .nodes [0 :3 ])
154
+ sync_blocks (self .nodes [0 :3 ], timeout = 120 )
155
155
156
156
print ("Verify height on node 2:" ,self .nodes [2 ].getblockcount ())
157
157
print ("Usage possibly still high bc of stale blocks in block files:" , calc_usage (self .prunedir ))
158
158
159
159
print ("Mine 220 more blocks so we have requisite history (some blocks will be big and cause pruning of previous chain)" )
160
160
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 )
162
162
163
163
usage = calc_usage (self .prunedir )
164
164
print ("Usage should be below target:" , usage )
You can’t perform that action at this time.
0 commit comments