Skip to content

Commit 33d846e

Browse files
committed
xfail
1 parent 8e9cf80 commit 33d846e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

distributed/tests/test_cancelled_state.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -615,18 +615,20 @@ def test_workerstate_executing_success_to_fetch(ws_with_running_task):
615615
assert ws.data["x"] == 123
616616

617617

618+
@pytest.mark.xfail(reason="distributed#6565, distributed#6689")
618619
def test_workerstate_executing_failure_to_fetch(ws_with_running_task):
619620
"""Test state loops:
620621
621622
- executing -> cancelled -> resumed (fetch)
622623
- executing -> long-running -> cancelled -> resumed (fetch)
623624
624625
The task execution later terminates with a failure.
625-
This is an edge case where a task is rescheduled on another worker and that same
626-
task does not deterministically succeed or fail when run on different workers.
626+
This is an edge case interaction between work stealing and a task that does not
627+
deterministically succeed or fail when run multiple times or on different workers.
627628
628-
Test that the task is fetched from the other worker; this is to avoid having to
629-
deal with cancelling the dependent.
629+
Test that the task is fetched from the other worker. This is to avoid having to deal
630+
with cancelling the dependent, which would require interaction with the scheduler
631+
and increase the complexity of the use case.
630632
631633
See also: test_workerstate_executing_success_to_fetch
632634
"""

0 commit comments

Comments
 (0)