Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Jan 11, 2023
1 parent 399733a commit 215ab59
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions distributed/tests/test_worker_state_machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,14 @@ def test_TaskState__to_dict():
assert actual == [
{
"key": "x",
"run_id": -1,
"state": "memory",
"done": True,
"dependents": ["<TaskState 'y' released>"],
},
{
"key": "y",
"run_id": -1,
"state": "released",
"dependencies": ["<TaskState 'x' memory>"],
"priority": [0],
Expand Down Expand Up @@ -192,13 +194,15 @@ def test_WorkerState__to_dict(ws):
"x": {
"coming_from": "127.0.0.1:1235",
"key": "x",
"run_id": -1,
"nbytes": 123,
"priority": [1],
"state": "flight",
"who_has": ["127.0.0.1:1235"],
},
"y": {
"key": "y",
"run_id": -1,
"nbytes": sizeof(object()),
"state": "memory",
},
Expand Down

0 comments on commit 215ab59

Please sign in to comment.