mirror of https://github.com/python/cpython
finalize the queue to resolve test issue
This commit is contained in:
parent
524e36a5d0
commit
d5ac4447ba
|
@ -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()
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue