Skip to content

Commit 4566882

Browse files
committed
Unrelated to PR - minor fix for reordering of tests
Last 3 commits added/removed enough tests in other files to shift the pytest-split group boundaries, moving test_create_extension_table_access_method away from test_create_drop_query_engine (which previously cleaned up dependent extensions). The test was always fragile as it assumed no dependent extensions were installed. Adding CASCADE makes it work regardless of ordering of tests. Signed-off-by: sfc-gh-npuka <naisila.puka@snowflake.com>
1 parent b2024c2 commit 4566882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pg_lake_table/tests/pytests/test_create_drop_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_create_extension_table_access_method(superuser_conn):
7171
SET default_table_access_method TO 'iceberg';
7272
7373
-- Recreating might fail if we try to create metadata tables as Iceberg
74-
DROP EXTENSION pg_lake_table;
74+
DROP EXTENSION pg_lake_table CASCADE;
7575
CREATE EXTENSION pg_lake_table CASCADE;
7676
""",
7777
superuser_conn,

0 commit comments

Comments
 (0)