fix: add retry config keys to postgres integration test fixture
This commit is contained in:
parent
78a5f8a9d6
commit
b1b58d1f8d
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue