Use process reaper for cleanup (#6253)

This commit is contained in:
Edward Oakes
2019-11-26 22:00:08 -06:00
committed by GitHub
parent 8622559e0c
commit e4f9b3b7d9
9 changed files with 172 additions and 53 deletions
+1
View File
@@ -217,6 +217,7 @@ def test_worker_plasma_store_failure(ray_start_cluster_head):
cluster.wait_for_nodes()
worker.kill_reporter()
worker.kill_plasma_store()
worker.kill_reaper()
worker.all_processes[ray_constants.PROCESS_TYPE_RAYLET][0].process.wait()
assert not worker.any_processes_alive(), worker.live_processes()