Browse Source

qa: Increase a sync_blocks timeout in pruning.py

0.14
Suhas Daftuar 8 years ago
parent
commit
2f10f06196
  1. 2
      qa/rpc-tests/pruning.py

2
qa/rpc-tests/pruning.py

@ -314,7 +314,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