mirror of
https://github.com/wassname/ray.git
synced 2026-08-01 12:51:09 +08:00
Use no_restart=False for ray.kill in Serve failure test (#8952)
This commit is contained in:
committed by
SangBin Cho
parent
29770cbb94
commit
3d7f61a31e
@@ -52,7 +52,8 @@ class RandomKiller:
|
||||
|
||||
def run(self):
|
||||
while True:
|
||||
ray.kill(random.choice(self._get_all_serve_actors()))
|
||||
ray.kill(
|
||||
random.choice(self._get_all_serve_actors()), no_restart=False)
|
||||
time.sleep(self.kill_period_s)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user