Skip to content

Commit 7e5f812

Browse files
committed
Scope integration test connection pool to session
1 parent 67e69db commit 7e5f812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/integration/connectors/memory/test_postgres.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def DataModelPandas(record) -> tuple:
7979
return definition, df
8080

8181

82-
@pytest_asyncio.fixture(scope="function")
82+
@pytest_asyncio.fixture(scope="session")
8383
async def vector_store() -> AsyncGenerator[PostgresStore, None]:
8484
async with await pg_settings.create_connection_pool() as pool:
8585
yield PostgresStore(connection_pool=pool)

0 commit comments

Comments
 (0)