diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2016-05-26 14:19:07 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2016-05-26 14:19:07 -0400 |
commit | e871f8338ad180428ff997b80a476d9719d8073f (patch) | |
tree | 0c6c9e6704cd2934b99bb7f7fb3a8eb9be9ff871 /qa/rpc-tests/getchaintips.py | |
parent | 425278d17bd0edf8a3a7cc81e55016f7fd8e7726 (diff) |
Tests: add timeout to sync_blocks() and sync_mempools()
Previously these functions would infinitely loop if sync failed;
now they have a default timeout of 60 seconds, after which an
AssertionError is raised.
sync_blocks() has also been improved and now compares the tip
hash of each node, rather than just using block count.
Diffstat (limited to 'qa/rpc-tests/getchaintips.py')
0 files changed, 0 insertions, 0 deletions