aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-13 12:11:14 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-13 13:32:05 +0100
commitfa663a4c0d20487ed3f7a93e1c2ca9932b05f5a8 (patch)
tree56c88a822c8ac1eeec05eac4a1d108807d72c29f /test
parentfad7ead146a152f46b25ce6623e05cbb1dbc8cca (diff)
Use mockable time for peer connection time
This allows to revert the temporary commit 0bfb9208df556f77cddfedfd73e5811a0e031d34 (test: fix test failures in test/functional/p2p_timeouts.py).
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/p2p_timeouts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_timeouts.py b/test/functional/p2p_timeouts.py
index 602f826782..cf714bc888 100755
--- a/test/functional/p2p_timeouts.py
+++ b/test/functional/p2p_timeouts.py
@@ -86,7 +86,7 @@ class TimeoutsTest(BitcoinTestFramework):
]
with self.nodes[0].assert_debug_log(expected_msgs=expected_timeout_logs):
- self.mock_forward(5)
+ self.mock_forward(2)
no_verack_node.wait_for_disconnect(timeout=1)
no_version_node.wait_for_disconnect(timeout=1)
no_send_node.wait_for_disconnect(timeout=1)