Skip to content

Commit

Permalink
increase statement timeout for long running statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodobolero committed Jul 10, 2024
1 parent a0a94d7 commit b99d5cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_runner/performance/test_hot_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def test_hot_table(env: PgCompare):
cur.execute("create table t (i integer primary key);")
cur.execute(f"insert into t values (generate_series(1,{num_rows}));")
# PL/pgSQL block to perform updates (and avoid latency between client and server)
# - however a single staement should not run into a timeout so we increase it
cur.execute("SET statement_timeout = '4h';")
cur.execute(
f"""
DO $$
Expand Down

0 comments on commit b99d5cf

Please sign in to comment.