From b1b58d1f8d5b91b3fba2bb66391369732808eb81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20MANSUY?= Date: Thu, 4 Dec 2025 19:33:32 +0800 Subject: [PATCH] fix: add retry config keys to postgres integration test fixture --- tests/test_postgres_retry_integration.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_postgres_retry_integration.py b/tests/test_postgres_retry_integration.py index 24f8db52..f68c5d03 100644 --- a/tests/test_postgres_retry_integration.py +++ b/tests/test_postgres_retry_integration.py @@ -39,6 +39,11 @@ class TestPostgresRetryIntegration: "database": os.getenv("POSTGRES_DATABASE", "postgres"), "workspace": os.getenv("POSTGRES_WORKSPACE", "test_retry"), "max_connections": int(os.getenv("POSTGRES_MAX_CONNECTIONS", "10")), + # Retry configuration + "connection_retry_attempts": int(os.getenv("POSTGRES_CONNECTION_RETRIES", "3")), + "connection_retry_backoff": float(os.getenv("POSTGRES_CONNECTION_RETRY_BACKOFF", "0.5")), + "connection_retry_backoff_max": float(os.getenv("POSTGRES_CONNECTION_RETRY_BACKOFF_MAX", "2.0")), + "pool_close_timeout": float(os.getenv("POSTGRES_POOL_CLOSE_TIMEOUT", "3.0")), } @pytest.fixture