Skip to content

Commit 2ba627a

Browse files
committed
Avoid local Mac issues for test_bodo_nan
1 parent b15937a commit 2ba627a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/integration/test_reads.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,11 @@ def test_daft_nan_rewritten(catalog: Catalog) -> None:
342342
@pytest.mark.integration
343343
@pytest.mark.filterwarnings("ignore")
344344
@pytest.mark.parametrize("catalog", [pytest.lazy_fixture("session_catalog_hive"), pytest.lazy_fixture("session_catalog")])
345-
def test_bodo_nan(catalog: Catalog) -> None:
345+
def test_bodo_nan(catalog: Catalog, monkeypatch: pytest.MonkeyPatch) -> None:
346+
# Avoid local Mac issues (see GH-2225)
347+
monkeypatch.setenv("BODO_DATAFRAME_LIBRARY_RUN_PARALLEL", "0")
348+
monkeypatch.setenv("FI_PROVIDER", "tcp")
349+
346350
table_test_null_nan_rewritten = catalog.load_table("default.test_null_nan_rewritten")
347351
df = table_test_null_nan_rewritten.to_bodo()
348352
assert len(df) == 3

0 commit comments

Comments
 (0)