Kaydet (Commit) d5ac4447 authored tarafından Jesse Noller's avatar Jesse Noller

finalize the queue to resolve test issue

üst 524e36a5
...@@ -1207,10 +1207,12 @@ class _TestManagerRestart(BaseTestCase): ...@@ -1207,10 +1207,12 @@ class _TestManagerRestart(BaseTestCase):
p.start() p.start()
queue = manager.get_queue() queue = manager.get_queue()
self.assertEqual(queue.get(), 'hello world') self.assertEqual(queue.get(), 'hello world')
del queue
manager.shutdown() manager.shutdown()
manager = QueueManager( manager = QueueManager(
address=('localhost', 9999), authkey=authkey, serializer=SERIALIZER) address=('localhost', 9999), authkey=authkey, serializer=SERIALIZER)
manager.start() manager.start()
manager.shutdown()
# #
# #
......
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