Use prctl(PR_SET_PDEATHSIG) on Linux instead of reaper (#7150)

This commit is contained in:
mehrdadn
2020-03-03 09:45:42 -08:00
committed by GitHub
parent f5b1062ed9
commit 4d42664b2a
4 changed files with 244 additions and 46 deletions
+2 -1
View File
@@ -176,7 +176,8 @@ def test_worker_plasma_store_failure(ray_start_cluster_head):
cluster.wait_for_nodes()
worker.kill_reporter()
worker.kill_plasma_store()
worker.kill_reaper()
if ray_constants.PROCESS_TYPE_REAPER in worker.all_processes:
worker.kill_reaper()
worker.all_processes[ray_constants.PROCESS_TYPE_RAYLET][0].process.wait()
assert not worker.any_processes_alive(), worker.live_processes()