]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
try seeing if just clearing this ahead of time helps
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jul 2013 22:30:48 +0000 (18:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jul 2013 22:32:38 +0000 (18:32 -0400)
test/engine/test_pool.py

index 05c0487f85741e8261872b45f6bda6fadff89b26..3f1d9d0ef82c08d5fbc89fa7607ec7fe48ab80e7 100644 (file)
@@ -987,6 +987,7 @@ class QueuePoolTest(PoolTestBase):
         self._test_overflow(40, 5)
 
     def test_mixed_close(self):
+        pool._refs.clear()
         p = self._queuepool_fixture(pool_size=3, max_overflow=-1, use_threadlocal=True)
         c1 = p.connect()
         c2 = p.connect()