aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2016-06-17 15:41:32 +0200
committerMarcoFalke <falke.marco@gmail.com>2016-06-17 15:42:04 +0200
commited2cd59e258f756b2eaed7909a60956ade6ef7ee (patch)
tree57729020c75758682aa107b163a2922f1b79f1e5
parent66db2d62d59817320c9182fc18e75a93b76828ea (diff)
parentfacb6c0bf8a6ef7081d763d9f33b446276a36635 (diff)
Merge #8214: [qa] mininode: fail on send_message instead of silent return
facb6c0 [qa] mininode: fail on send_message instead of silent return (MarcoFalke)
-rwxr-xr-xqa/rpc-tests/test_framework/mininode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py
index c0b59f3857..6612b99b84 100755
--- a/qa/rpc-tests/test_framework/mininode.py
+++ b/qa/rpc-tests/test_framework/mininode.py
@@ -1315,7 +1315,7 @@ class NodeConn(asyncore.dispatcher):
def send_message(self, message, pushbuf=False):
if self.state != "connected" and not pushbuf:
- return
+ raise IOError('Not connected, no pushbuf')
self.show_debug_msg("Send %s" % repr(message))
command = message.command
data = message.serialize()