test: Wait until is_connected in add_p2p_connection

This commit is contained in:
MarcoFalke
2020-08-04 12:55:35 +02:00
parent 3c93623be2
commit fa4dfd215f
4 changed files with 11 additions and 14 deletions

View File

@@ -474,7 +474,7 @@ class P2PInterface(P2PConnection):
def test_function():
return "verack" in self.last_message
self.wait_until(test_function, timeout=timeout, check_connected=False)
self.wait_until(test_function, timeout=timeout)
# Message sending helper functions