mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 01:16:06 +08:00
Make def test_submitting_many_actors_to_one less stressful. (#4622)
This commit is contained in:
committed by
Philipp Moritz
parent
57af1c6819
commit
967e8aad9d
@@ -133,7 +133,7 @@ def test_submitting_many_actors_to_one(ray_start_sharded):
|
||||
return ray.get(self.actor.ping.remote())
|
||||
|
||||
a = Actor.remote()
|
||||
workers = [Worker.remote(a) for _ in range(100)]
|
||||
workers = [Worker.remote(a) for _ in range(10)]
|
||||
for _ in range(10):
|
||||
out = ray.get([w.ping.remote() for w in workers])
|
||||
assert out == [None for _ in workers]
|
||||
|
||||
Reference in New Issue
Block a user