diff --git a/test_runner/fixtures/neon_fixtures.py b/test_runner/fixtures/neon_fixtures.py index 3848aee05a..3b87f290b8 100644 --- a/test_runner/fixtures/neon_fixtures.py +++ b/test_runner/fixtures/neon_fixtures.py @@ -299,7 +299,9 @@ class PgProtocol: # change it by calling "SET statement_timeout" after # connecting. options = result.get('options', '') - result['options'] = f'-cstatement_timeout=120s {options}' + if "statement_timeout" not in options: + options = f'-cstatement_timeout=120s {options}' + result['options'] = options return result # autocommit=True here by default because that's what we need most of the time diff --git a/test_runner/performance/test_wal_backpressure.py b/test_runner/performance/test_wal_backpressure.py index 61c5bea64a..bbb5ddecab 100644 --- a/test_runner/performance/test_wal_backpressure.py +++ b/test_runner/performance/test_wal_backpressure.py @@ -155,7 +155,7 @@ def start_pgbench_intensive_initialization(env: PgCompare, scale: int, done_even f'-s{scale}', '-i', '-Idtg', - env.pg.connstr(options='-cstatement_timeout=360s') + env.pg.connstr(options='-cstatement_timeout=600s') ]) done_event.set()