Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

test: enable SQLAlchemy pooling in CI tests (#9279)

Kian Jones02183efd5f08
diff --git a/tests/conftest.py b/tests/conftest.py
index fada6cb43..452e682f3 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -67,15 +67,6 @@ def client(server_url: str) -> Letta:
yield client_instance
[email protected](scope="session", autouse=True)
-def disable_db_pooling_for_tests():
- """Disable database connection pooling for the entire test session."""
- os.environ["LETTA_DISABLE_SQLALCHEMY_POOLING"] = "true"
- yield
- if "LETTA_DISABLE_SQLALCHEMY_POOLING" in os.environ:
- del os.environ["LETTA_DISABLE_SQLALCHEMY_POOLING"]
-
-
@pytest.fixture(autouse=True)
async def cleanup_db_connections():
"""Cleanup database connections after each test."""