diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2016-06-28 10:32:09 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2016-06-28 10:32:09 -0400 |
commit | 36f1b9df762f4819e67e060e1624911df9bd59de (patch) | |
tree | ec403cb6772906f84b2290dd8ec068d2e4e1e7d8 /qa/rpc-tests | |
parent | 5a06ebbf2d5f6ff57966c9ea9956cc1b666b3028 (diff) |
Tests: Increase sync_blocks() timeouts in pruning.py
Diffstat (limited to 'qa/rpc-tests')
-rwxr-xr-x | qa/rpc-tests/pruning.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/pruning.py b/qa/rpc-tests/pruning.py index d225e29b50..7cbe69c29b 100755 --- a/qa/rpc-tests/pruning.py +++ b/qa/rpc-tests/pruning.py @@ -151,14 +151,14 @@ class PruneTest(BitcoinTestFramework): print("Reconnect nodes") connect_nodes(self.nodes[0], 1) connect_nodes(self.nodes[2], 1) - sync_blocks(self.nodes[0:3]) + sync_blocks(self.nodes[0:3], timeout=120) print("Verify height on node 2:",self.nodes[2].getblockcount()) print("Usage possibly still high bc of stale blocks in block files:", calc_usage(self.prunedir)) print("Mine 220 more blocks so we have requisite history (some blocks will be big and cause pruning of previous chain)") self.nodes[0].generate(220) #node 0 has many large tx's in its mempool from the disconnects - sync_blocks(self.nodes[0:3]) + sync_blocks(self.nodes[0:3], timeout=300) usage = calc_usage(self.prunedir) print("Usage should be below target:", usage) |