diff options
author | John Newbery <john@johnnewbery.com> | 2017-08-16 15:46:48 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-10-03 18:29:34 +0200 |
commit | 1d80d1e319b41e5187d5949b3c22c35df182ba3c (patch) | |
tree | 747875429f86e40ba789710935ed52618a6832fd /test/functional/p2p-leaktests.py | |
parent | c276c1e1d1fb18771d9efabaf5a476d29c901d5d (diff) | |
download | bitcoin-1d80d1e319b41e5187d5949b3c22c35df182ba3c.tar.xz |
[tests] fix timeout issues from TestNode
Fixes a couple of bugs from the introduction of TestNode:
- test scripts were no longer able to specify a custom timeout for
starting a node. Therefore tests with nodes that take a long time to
start up (eg pruning.py) would fail.
- the test for whether a node has failed on start up was broken
by changing 'assert x is None' to 'assert not x'. Since
subprocess.poll() can return None (indicating the node is still running)
or 0 (indicating the node exited with return code 0), this was a
regression.
Github-Pull: #11077
Rebased-From: 2b4ea520b717b3ca894adbac17796786667764d3
Diffstat (limited to 'test/functional/p2p-leaktests.py')
0 files changed, 0 insertions, 0 deletions