aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_zmq.py
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-11-11 22:21:43 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2019-11-11 22:22:32 +0000
commit3e730bf90aaf53c41ff3a778f6aac15d163d1c0c (patch)
tree84593c918cea5708359ef94b50dd94dd9b501a85 /test/functional/interface_zmq.py
parent80fdb6fad132166b10fbeb8615e3c5c591209e0b (diff)
downloadbitcoin-3e730bf90aaf53c41ff3a778f6aac15d163d1c0c.tar.xz
zmq: Fix due to invalid argument and multiple notifiers
Diffstat (limited to 'test/functional/interface_zmq.py')
-rwxr-xr-xtest/functional/interface_zmq.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/interface_zmq.py b/test/functional/interface_zmq.py
index 5aea10fbce..89c55f31f3 100755
--- a/test/functional/interface_zmq.py
+++ b/test/functional/interface_zmq.py
@@ -59,6 +59,10 @@ class ZMQTest (BitcoinTestFramework):
# Note that the publishing order is not defined in the documentation and
# is subject to change.
import zmq
+
+ # Invalid zmq arguments don't take down the node, see #17185.
+ self.restart_node(0, ["-zmqpubrawtx=foo", "-zmqpubhashtx=bar"])
+
address = 'tcp://127.0.0.1:28332'
socket = self.ctx.socket(zmq.SUB)
socket.set(zmq.RCVTIMEO, 60000)