Skip to content

Commit

Permalink
xfail test_dataframe_set_index_sync - passes fine locally...
Browse files Browse the repository at this point in the history
  • Loading branch information
milesgranger committed Mar 8, 2024
1 parent 3f93b93 commit 3d6471f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion distributed/tests/test_dask_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
np = pytest.importorskip("numpy")
pd = pytest.importorskip("pandas")

from concurrent.futures import CancelledError

from packaging.version import parse as parse_version
from pandas.testing import assert_frame_equal, assert_index_equal, assert_series_equal

Expand Down Expand Up @@ -143,7 +145,19 @@ async def test_bag_groupby_key_hashing(c, s, a, b):
assert ("even", [0, 2, 4] * 3) in result


@pytest.mark.parametrize("wait", [wait, lambda x: None])
@pytest.mark.parametrize(
"wait",
[
wait,
pytest.param(
lambda x: None,
marks=pytest.mark.xfail(
reason="https://github.com/dask/distributed/issues/8561",
raises=CancelledError,
),
),
],
)
def test_dataframe_set_index_sync(wait, client):
partition_freq_unit = "ME" if PANDAS_GE_220 else "M"
df = dask.datasets.timeseries(
Expand Down

0 comments on commit 3d6471f

Please sign in to comment.