mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 20:06:52 +08:00
Use no_restart=False for ray.kill in Serve failure test (#8952)
This commit is contained in:
@@ -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