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:
dustinface 2020-07-20 17:03:35 +02:00 committed by GitHub
parent 6e592cc691
commit 213216c924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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