test/performance: ensure we don't have tables that we're creating (#2135)

This commit is contained in:
Alexander Bayandin
2022-07-22 11:00:05 +01:00
committed by GitHub
parent e308265e42
commit 9dcb9ca3da

View File

@@ -17,6 +17,8 @@ def test_dup_key(env: PgCompare):
with closing(env.pg.connect()) as conn:
with conn.cursor() as cur:
cur.execute('drop table if exists t, f;')
cur.execute("SET synchronous_commit=off")
cur.execute("SET statement_timeout=0")