Browse Source

Merge #9628: qa: Increase a sync_blocks timeout in pruning.py

2f10f06 qa: Increase a sync_blocks timeout in pruning.py (Suhas Daftuar)
0.14
MarcoFalke 8 years ago
parent
commit
f89502306d
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 2
      qa/rpc-tests/pruning.py

2
qa/rpc-tests/pruning.py

@ -331,7 +331,7 @@ class PruneTest(BitcoinTestFramework):
print ("Syncing node 5 to test wallet") print ("Syncing node 5 to test wallet")
connect_nodes(self.nodes[0], 5) connect_nodes(self.nodes[0], 5)
nds = [self.nodes[0], self.nodes[5]] nds = [self.nodes[0], self.nodes[5]]
sync_blocks(nds) sync_blocks(nds, wait=5, timeout=300)
try: try:
stop_node(self.nodes[5],5) #stop and start to trigger rescan stop_node(self.nodes[5],5) #stop and start to trigger rescan
start_node(5, self.options.tmpdir, ["-debug=1","-prune=550"]) start_node(5, self.options.tmpdir, ["-debug=1","-prune=550"])

Loading…
Cancel
Save