Unverified Kaydet (Commit) 613f729e authored tarafından Pablo Galindo's avatar Pablo Galindo Kaydeden (comit) GitHub

Do not retain references to processes and managers in TestSyncManagerTypes (GH-11801)

Keeping references to processes and managers between tests makes them count as dangling processes.
üst 8a03ff2f
...@@ -4740,6 +4740,8 @@ class TestSyncManagerTypes(unittest.TestCase): ...@@ -4740,6 +4740,8 @@ class TestSyncManagerTypes(unittest.TestCase):
self.proc.terminate() self.proc.terminate()
self.proc.join() self.proc.join()
self.manager.shutdown() self.manager.shutdown()
self.manager = None
self.proc = None
@classmethod @classmethod
def setUpClass(cls): def setUpClass(cls):
......
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