mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
[Test] Fix flaky test failure (#15326)
* Fix trial. * unskip test. * Mock commit
This commit is contained in:
parent
e6864523cf
commit
5f74d0e40d
2 changed files with 3 additions and 1 deletions
|
@ -374,7 +374,6 @@ def test_connect_with_disconnected_node(shutdown_only):
|
||||||
p.close()
|
p.close()
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Temporarily disabled due to flakyniess.")
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"ray_start_cluster_head", [{
|
"ray_start_cluster_head", [{
|
||||||
"num_cpus": 5,
|
"num_cpus": 5,
|
||||||
|
|
|
@ -708,6 +708,9 @@ void NodeManager::WarnResourceDeadlock() {
|
||||||
exemplar.GetTaskSpecification().JobId());
|
exemplar.GetTaskSpecification().JobId());
|
||||||
RAY_CHECK_OK(gcs_client_->Errors().AsyncReportJobError(error_data_ptr, nullptr));
|
RAY_CHECK_OK(gcs_client_->Errors().AsyncReportJobError(error_data_ptr, nullptr));
|
||||||
}
|
}
|
||||||
|
// Try scheduling tasks. Without this, if there's no more tasks coming in, deadlocked
|
||||||
|
// tasks are never be scheduled.
|
||||||
|
cluster_task_manager_->ScheduleAndDispatchTasks();
|
||||||
}
|
}
|
||||||
|
|
||||||
void NodeManager::GetObjectManagerProfileInfo() {
|
void NodeManager::GetObjectManagerProfileInfo() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue