File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" )
618619def 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 """
You can’t perform that action at this time.
0 commit comments