mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
test: p2p_timeouts - Wait a second longer before timeout validations (#3619)
I saw this test failing many times now at this point and it always looked like (if i did not missread the logs) that the expected messages and so the disconnects did pop up right after it failed. So this might help to avoid some red crosses.
This commit is contained in:
parent
6e592cc691
commit
213216c924
@ -74,7 +74,7 @@ class TimeoutsTest(BitcoinTestFramework):
|
||||
]
|
||||
|
||||
with self.nodes[0].assert_debug_log(expected_msgs=expected_timeout_logs):
|
||||
sleep(3)
|
||||
sleep(3 + 1) # Sleep one second more than peertimeout
|
||||
assert not no_verack_node.connected
|
||||
assert not no_version_node.connected
|
||||
assert not no_send_node.connected
|
||||
|
Loading…
Reference in New Issue
Block a user