fix: Revert changes to sql alchemy for lib test
This commit is contained in:
parent
35b3af0d29
commit
74ce78ddfe
1 changed files with 1 additions and 4 deletions
|
|
@ -507,10 +507,7 @@ class SQLAlchemyAdapter:
|
|||
if self.engine.dialect.name == "sqlite":
|
||||
await self.engine.dispose(close=True)
|
||||
# Wait for the database connections to close and release the file (Windows)
|
||||
import gc
|
||||
|
||||
gc.collect()
|
||||
# await asyncio.sleep(2)
|
||||
await asyncio.sleep(2)
|
||||
db_directory = path.dirname(self.db_path)
|
||||
file_name = path.basename(self.db_path)
|
||||
file_storage = get_file_storage(db_directory)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue