From f1ec281230aac5806a84c15425f7a29e01c7adf5 Mon Sep 17 00:00:00 2001 From: Jeff Frontz Date: Wed, 25 Jul 2018 16:23:59 -0400 Subject: [PATCH] Explicitly destroy zmq object when exiting without actually using it --- qa/rpc-tests/zmq_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/rpc-tests/zmq_test.py b/qa/rpc-tests/zmq_test.py index eecf506b87..cad6e35577 100755 --- a/qa/rpc-tests/zmq_test.py +++ b/qa/rpc-tests/zmq_test.py @@ -34,6 +34,9 @@ class ZMQTest (BitcoinTestFramework): ]) def run_test(self): + # destroy() required for ubuntu docker hang workaround when + # exiting without actually messaging (remove with resolution of #TODO) + self.zmqContext.destroy(linger=0) return #TODO self.sync_all()