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

This commit is contained in:
Stephanie Wang
2020-06-17 20:29:43 -07:00
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)