mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 15:56:55 +08:00
Fix broken pipe callback (#4513)
This commit is contained in:
@@ -329,7 +329,7 @@ def test_raylet_failed(ray_start_cluster):
|
||||
@pytest.mark.parametrize(
|
||||
"ray_start_cluster", [{
|
||||
"num_cpus": 8,
|
||||
"num_nodes": 4
|
||||
"num_nodes": 2
|
||||
}], indirect=True)
|
||||
def test_plasma_store_failed(ray_start_cluster):
|
||||
cluster = ray_start_cluster
|
||||
|
||||
@@ -84,6 +84,7 @@ def test_worker_plasma_store_failure(ray_start_cluster_head):
|
||||
cluster.wait_for_nodes()
|
||||
# Log monitor doesn't die for some reason
|
||||
worker.kill_log_monitor()
|
||||
worker.kill_reporter()
|
||||
worker.kill_plasma_store()
|
||||
worker.all_processes[ray_constants.PROCESS_TYPE_RAYLET][0].process.wait()
|
||||
assert not worker.any_processes_alive(), worker.live_processes()
|
||||
|
||||
Reference in New Issue
Block a user