Commit 63e83a8f authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2190] do normal shutdown on msgq in statshttpd test

parent 7230b23e
......@@ -107,19 +107,10 @@ class MockMsgq:
def run(self):
self._started.set()
try:
self.msgq.run()
except Exception:
pass
finally:
# explicitly shut down the socket of the msgq before
# shutting down the msgq
self.msgq.listen_socket.shutdown(msgq.socket.SHUT_RDWR)
self.msgq.shutdown()
self.msgq.run()
def shutdown(self):
# do nothing
pass
self.msgq.shutdown()
class MockCfgmgr:
def __init__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment