Fix failing zmq tests

This is just a stopgap to prevent the ioloop from shutting down before the procs die off.
This commit is contained in:
Mike Place 2015-06-18 11:45:57 -06:00
parent 66939939c1
commit 72752f53ff

View file

@ -7,6 +7,7 @@
from __future__ import absolute_import
import os
import threading
import time
import zmq.eventloop.ioloop
# support pyzmq 13.0.x, TODO: remove once we force people to 14.0.x
@ -74,6 +75,7 @@ class BaseZMQReqCase(TestCase):
@classmethod
def tearDownClass(cls):
cls.process_manager.kill_children()
time.sleep(2) # Give the procs a chance to fully close before we stop the io_loop
cls.io_loop.stop()
cls.server_channel.close()