mirror of https://github.com/python/cpython
finalize the queue prior to shutdown
This commit is contained in:
parent
5e95e763e1
commit
019ce773cd
|
@ -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()
|
||||
|
||||
#
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue