Change pub test to return global ioloop instance

This *could* be causing the intermetent failures on
unit.transport.zeromq_test.AsyncPubChannelTest.test_basic but it
is a bit of a shot in the dark.
This commit is contained in:
Mike Place 2015-06-30 13:37:03 -06:00
parent 35c20a71d4
commit 8a5caf02c2

View file

@ -187,7 +187,7 @@ class AsyncPubChannelTest(BaseZMQPubCase, PubChannelMixin):
Tests around the publish system
'''
def get_new_ioloop(self):
return zmq.eventloop.ioloop.ZMQIOLoop()
return zmq.eventloop.ioloop.ZMQIOLoop().instance()
if __name__ == '__main__':