Skip to content

Commit faa6715

Browse files
committed
test: Use self.wait_until over wait_until_helper
1 parent d4ebdce commit faa6715

File tree

1 file changed

+1
-1
lines changed
  • test/functional/test_framework

1 file changed

+1
-1
lines changed

test/functional/test_framework/p2p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def test_function():
464464

465465
def wait_for_connect(self, timeout=60):
466466
test_function = lambda: self.is_connected
467-
wait_until_helper(test_function, timeout=timeout, lock=p2p_lock)
467+
self.wait_until(test_function, timeout=timeout, check_connected=False)
468468

469469
def wait_for_disconnect(self, timeout=60):
470470
test_function = lambda: not self.is_connected

0 commit comments

Comments
 (0)