finalize the queue prior to shutdown

This commit is contained in:
Jesse Noller 2009-03-30 21:53:29 +00:00
parent 5e95e763e1
commit 019ce773cd
1 changed files with 2 additions and 0 deletions

View File

@ -1208,10 +1208,12 @@ class _TestManagerRestart(BaseTestCase):
p.start()
queue = manager.get_queue()
self.assertEqual(queue.get(), 'hello world')
del queue
manager.shutdown()
manager = QueueManager(
address=('localhost', 9999), authkey=authkey, serializer=SERIALIZER)
manager.start()
manager.shutdown()
#
#