diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-05-26 18:27:21 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2020-05-26 19:06:12 +0200 |
commit | 4af01b37d40246cd1fdb54719855927e36a36b46 (patch) | |
tree | a9a259ac85810babea941fdb39d83a1bcd2a9113 /src/netaddress.cpp | |
parent | dcacea096e029a02a937bf96d002ca7e94c48c15 (diff) | |
parent | fa80b4788bbe3ef00c5d767c0d89ba9809d8707c (diff) |
Merge #19060: test: Remove global wait_until from p2p_getdata
fa80b4788bbe3ef00c5d767c0d89ba9809d8707c test: Remove global wait_until from p2p_getdata (MarcoFalke)
999922baed3a80b581ce46daa01c4cbca4fcbfd8 test: Default mininode.wait_until timeout to 60s (MarcoFalke)
fab47375fe0bdec1e557e087fdb0707c4dfa7cc2 test: pep-8 p2p_getdata.py (MarcoFalke)
Pull request description:
Using the global wait_until makes it impossible to adjust the timeout based on the hardware the test is running on.
Fix that by using the mininode member function.
So for example, `./test/functional/p2p_getdata.py --timeout-factor=0.04` gives a timeout of 2.4 seconds.
ACKs for top commit:
laanwj:
ACK fa80b4788bbe3ef00c5d767c0d89ba9809d8707c
Tree-SHA512: ebb1b7860a64451de2b8ee9a0966faddb13b84af711f6744e8260d7c9bc0b382e8fb259897df5212190821e850ed30d4d5c2d7af45a97f207fd4511b06b6674a
Diffstat (limited to 'src/netaddress.cpp')
0 files changed, 0 insertions, 0 deletions