Use no_restart=False for ray.kill in Serve failure test (#8952)

This commit is contained in:
Stephanie Wang
2020-06-15 15:34:56 -07:00
committed by GitHub
parent 4a66b6783a
commit 19d44d4fa9
@@ -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)