Skip to content

Commit 4fb4814

Browse files
authored
XFAIL test_handle_null_partitions_2 (#9191)
Work around #9184
1 parent 179a379 commit 4fb4814

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

distributed/shuffle/tests/test_shuffle.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
pd = pytest.importorskip("pandas")
3131

3232
import dask.dataframe as dd
33+
from dask.dataframe._compat import PANDAS_GE_300
3334
from dask.typing import Key
3435

3536
from distributed import (
@@ -2435,6 +2436,7 @@ async def test_handle_null_partitions(c, s, a, b):
24352436
await assert_scheduler_cleanup(s)
24362437

24372438

2439+
@pytest.mark.xfail(PANDAS_GE_300, reason="dask/distributed#9184", strict=True)
24382440
@gen_cluster(client=True)
24392441
async def test_handle_null_partitions_2(c, s, a, b):
24402442
def make_partition(i):
@@ -2447,7 +2449,7 @@ def make_partition(i):
24472449
ddf = dd.from_map(make_partition, range(5), meta={"a": float, "b": float})
24482450
with dask.config.set({"dataframe.shuffle.method": "p2p"}):
24492451
out = ddf.shuffle(on="a", ignore_index=True, force=True)
2450-
result, expected = c.compute([ddf, out])
2452+
expected, result = c.compute([ddf, out])
24512453
del out
24522454
result = await result
24532455
expected = await expected

0 commit comments

Comments
 (0)