From 9dcb9ca3da358a678daf040eda2c94b0b8dd9fab Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Fri, 22 Jul 2022 11:00:05 +0100 Subject: [PATCH] test/performance: ensure we don't have tables that we're creating (#2135) --- test_runner/performance/test_dup_key.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_runner/performance/test_dup_key.py b/test_runner/performance/test_dup_key.py index a8caceb61a..ee867a9845 100644 --- a/test_runner/performance/test_dup_key.py +++ b/test_runner/performance/test_dup_key.py @@ -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")