]> git.ipfire.org Git - thirdparty/tornado.git/commit
test: Close the thread pool in run_on_executor test 3332/head
authorBen Darnell <ben@bendarnell.com>
Wed, 11 Oct 2023 00:39:25 +0000 (20:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Sat, 14 Oct 2023 02:47:35 +0000 (22:47 -0400)
commit3340c3971f7663fb8a1a04c676f4a7cf734d1f0f
treebecfc9ff82b0748b51d38492ac912b13f4103fd9
parentdbbd42ebe4d554bdf2c36fad5790efe94188b5f2
test: Close the thread pool in run_on_executor test

If this executor was left around it would be GC'd at an unpredictable
time and would often be reported as a failure in other circlerefs tests.
(For unknown reasons this would occur most often in i686 (i.e. 32-bit)
linux builds).
tornado/test/circlerefs_test.py