qa: Increase a sync_blocks timeout in pruning.py

This commit is contained in:
Suhas Daftuar 2017-01-25 09:30:38 -05:00
parent 9ec1330b45
commit 2f10f06196

View File

@ -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"])