Skip to content

Commit

Permalink
Harmonize #6161 and #6173 (#6207)
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky authored Apr 26, 2022
1 parent 1adbb7a commit 84cbb09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ async def test_gather_dep_local_workers_first(c, s, a, lw, *rws):
)["f"]
g = c.submit(inc, f, key="g", workers=[a.address])
assert await g == 2
assert_worker_story(a.story("f"), [("receive-dep", lw.address, {"f"})])
assert_story(a.story("f"), [("receive-dep", lw.address, {"f"})])


@pytest.mark.skipif(not LINUX, reason="Need 127.0.0.2 to mean localhost")
Expand All @@ -1846,7 +1846,7 @@ async def test_gather_dep_from_remote_workers_if_all_local_workers_are_busy(
assert sorted(ev[1] for ev in a.story("busy-gather")) == sorted(
w.address for w in lws
)
assert_worker_story(a.story("receive-dep"), [("receive-dep", rw.address, {"f"})])
assert_story(a.story("receive-dep"), [("receive-dep", rw.address, {"f"})])


@gen_cluster(client=True, nthreads=[("127.0.0.1", 0)])
Expand Down

0 comments on commit 84cbb09

Please sign in to comment.