aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <6399679+MarcoFalke@users.noreply.github.com>2023-03-08 11:38:03 +0100
committerMarcoFalke <6399679+MarcoFalke@users.noreply.github.com>2023-03-08 11:31:56 +0100
commitfaa671591f9c83ef0fb5afea151a1907c28f024b (patch)
treea604e9fa5e5a443b2126b7b3306b2fb985986ec0
parentd4ebdceaef130e4b68e5d5db67eecfefd24b4239 (diff)
test: Use self.wait_until over wait_until_helper
-rwxr-xr-xtest/functional/test_framework/p2p.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/p2p.py b/test/functional/test_framework/p2p.py
index c5768177bd..2433e52671 100755
--- a/test/functional/test_framework/p2p.py
+++ b/test/functional/test_framework/p2p.py
@@ -464,7 +464,7 @@ class P2PInterface(P2PConnection):
def wait_for_connect(self, timeout=60):
test_function = lambda: self.is_connected
- wait_until_helper(test_function, timeout=timeout, lock=p2p_lock)
+ self.wait_until(test_function, timeout=timeout, check_connected=False)
def wait_for_disconnect(self, timeout=60):
test_function = lambda: not self.is_connected