Skip to content

Commit d3b96e3

Browse files
committed
Fix flaky integration test
1 parent 3842583 commit d3b96e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/test_complex_types.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ def table_fixture(self, connection_details):
1212

1313
with self.cursor() as cursor:
1414
# Create the table
15+
cursor.execute("""DROP TABLE IF EXISTS pysql_e2e_test_complex_types_table""")
1516
cursor.execute(
1617
"""
17-
CREATE TABLE IF NOT EXISTS pysql_e2e_test_complex_types_table (
18+
CREATE TABLE pysql_e2e_test_complex_types_table (
1819
array_col ARRAY<STRING>,
1920
map_col MAP<STRING, INTEGER>,
2021
struct_col STRUCT<field1: STRING, field2: INTEGER>

0 commit comments

Comments
 (0)