8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80141f1 commit f2fbc8aCopy full SHA for f2fbc8a
distributed/tests/test_actor.py
@@ -637,6 +637,21 @@ def do_inc(self, ac):
637
assert ac2.do_inc(ac).result() == 1
638
639
640
+def test_one_thread_deadlock_sync_client():
641
+ class UsesCounter:
642
+ # An actor whose method argument is another actor
643
+
644
+ def do_inc(self, ac):
645
+ get_client().sync(ac.increment)
646
647
+ with cluster(nworkers=2) as (cl, w):
648
+ client = Client(cl["address"])
649
+ ac = client.submit(Counter, actor=True).result()
650
+ ac2 = client.submit(UsesCounter, actor=True, workers=[ac._address]).result()
651
652
+ assert ac2.do_inc(ac).result() == 1
653
654
655
@gen_cluster(client=True)
656
async def test_async_deadlock(client, s, a, b):
657
class UsesCounter:
0 commit comments