diff options
| author | John Newbery <[email protected]> | 2017-08-16 15:46:48 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-08-23 10:56:31 -0400 |
| commit | 2b4ea520b717b3ca894adbac17796786667764d3 (patch) | |
| tree | e879a1ca697e137363ac4350345e778588a38183 /src/httpserver.cpp | |
| parent | Merge #10679: Document the non-DER-conformance of one test in tx_valid.json. (diff) | |
| download | discoin-2b4ea520b717b3ca894adbac17796786667764d3.tar.xz discoin-2b4ea520b717b3ca894adbac17796786667764d3.zip | |
[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.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions