finalize the queue to resolve test issue

This commit is contained in:
Jesse Noller 2009-03-30 21:57:36 +00:00
parent 524e36a5d0
commit d5ac4447ba
1 changed files with 2 additions and 0 deletions

View File

@ -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()
# #
# #