Commit 35d1f009 authored by Jesse Noller's avatar Jesse Noller

finalize the queue to resolve test issue

parent 0ad59d46
...@@ -1209,10 +1209,12 @@ class _TestManagerRestart(BaseTestCase): ...@@ -1209,10 +1209,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