Skip to content

Commit e4b3448

Browse files
committed
test(duckdb): mark ducklake extension tests as isolated to prevent Windows xdist race
Closes #6182 Signed-off-by: Bruce Arctor <5032356+brucearctor@users.noreply.github.com>
1 parent 5a09168 commit e4b3448

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/core/engine_adapter/test_duckdb.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def test_drop_catalog_motherduck(make_mocked_engine_adapter: t.Callable) -> None
126126
assert to_sql_calls(adapter) == ['DROP DATABASE IF EXISTS "foo" CASCADE']
127127

128128

129+
@pytest.mark.isolated
129130
def test_ducklake_partitioning(adapter: EngineAdapter, duck_conn, tmp_path):
130131
catalog = "a_ducklake_db"
131132

@@ -156,6 +157,7 @@ def test_ducklake_partitioning(adapter: EngineAdapter, duck_conn, tmp_path):
156157
assert partition_info.shape[0] == 1
157158

158159

160+
@pytest.mark.isolated
159161
def test_drop_table_ducklake_no_cascade(adapter: EngineAdapter, duck_conn, tmp_path):
160162
# DuckLake does not implement DROP TABLE/VIEW ... CASCADE, so the adapter must
161163
# omit CASCADE for objects in a DuckLake catalog while keeping it for native catalogs.
@@ -187,6 +189,7 @@ def test_drop_table_ducklake_no_cascade(adapter: EngineAdapter, duck_conn, tmp_p
187189
assert not adapter.table_exists("memory.main.native_v")
188190

189191

192+
@pytest.mark.isolated
190193
def test_drop_table_ducklake_no_cascade_mixed_case_alias(
191194
adapter: EngineAdapter, duck_conn, tmp_path
192195
):

0 commit comments

Comments
 (0)