mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
35c20a71d4
commit
8a5caf02c2
1 changed files with 1 additions and 1 deletions
|
@ -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__':
|
||||
|
|
Loading…
Add table
Reference in a new issue