aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/maxuploadtarget.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-10-01 11:36:25 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-10-02 12:21:14 +0200
commitfa666094cf5b9ac4a7c1732a7ffa001afffcd938 (patch)
treedfd0360b6b7dabfa04534e8a9e54f5c0e23504dd /qa/rpc-tests/maxuploadtarget.py
parent6faffb8a83db3f209a303a4464dbdd597faad5a4 (diff)
[qa] mininode: Only allow named args in wait_until
Diffstat (limited to 'qa/rpc-tests/maxuploadtarget.py')
-rwxr-xr-xqa/rpc-tests/maxuploadtarget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/maxuploadtarget.py b/qa/rpc-tests/maxuploadtarget.py
index 125d4eb275..d0e9fe9a3f 100755
--- a/qa/rpc-tests/maxuploadtarget.py
+++ b/qa/rpc-tests/maxuploadtarget.py
@@ -75,7 +75,7 @@ class TestNode(NodeConnCB):
def received_pong():
return (self.last_pong.nonce == self.ping_counter)
self.connection.send_message(msg_ping(nonce=self.ping_counter))
- success = wait_until(received_pong, timeout)
+ success = wait_until(received_pong, timeout=timeout)
self.ping_counter += 1
return success