diff options
| author | John Newbery <[email protected]> | 2017-12-07 13:40:39 -0500 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-12-11 09:17:21 -0500 |
| commit | 34e08b3510c64e35fc51327562d15d938f4b656e (patch) | |
| tree | c6f09d62e3a5da99daa809c942e7f8bd7c474558 /src/httpserver.cpp | |
| parent | [tests] Use network_thread_start() in tests. (diff) | |
| download | discoin-34e08b3510c64e35fc51327562d15d938f4b656e.tar.xz discoin-34e08b3510c64e35fc51327562d15d938f4b656e.zip | |
[tests] Fix network threading in functional tests
assumevalid.py, example_test.py and p2p-acceptblocks.py add
p2p_connections after the NetworkThread has been started. This isn't
permitted. Fix test to restart the network thread when adding new
connections.
p2p-leaktest.py had a potential race condition if the NetworkThread
hadn't terminated by the time we tried to restart it.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions