]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
skip sqlite file for this test
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jun 2023 03:01:57 +0000 (23:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Jun 2023 03:01:57 +0000 (23:01 -0400)
the cursor not being consumed leaves the database locked until
the program exits.  i cant find any way to free up the file otherwise

Change-Id: Iaa723e217a9206c91e748cf9b0775a06209d599c

test/engine/test_reconnect.py

index 00984b5a4d7044dcc2a58d8e62623841431d887a..a7883efa2fdd2ecb58ce55ca741f722957055cff 100644 (file)
@@ -1488,6 +1488,9 @@ class PrePingRealTest(fixtures.TestBase):
 class InvalidateDuringResultTest(fixtures.TestBase):
     __backend__ = True
 
+    # test locks SQLite file databases due to unconsumed results
+    __requires__ = ("ad_hoc_engines",)
+
     def setup_test(self):
         self.engine = engines.reconnecting_engine()
         self.meta = MetaData()