[new scheduler] Always spill back to a feasible node if the local node is not feasible (#12557)

* fix

lint

* feasible nodes

* Enable test, cleanup

* Revert "fix"

This reverts commit aef81d04c0b4560b758f846e1afdafbdb5552efe.

* unit test

* doc
This commit is contained in:
Stephanie Wang
2020-12-08 13:46:58 -05:00
committed by GitHub
parent b7404e7955
commit 50f28811ac
5 changed files with 102 additions and 20 deletions
-2
View File
@@ -9,7 +9,6 @@ import ray
from ray.test_utils import (
wait_for_condition,
wait_for_pid_to_exit,
new_scheduler_enabled,
)
SIGKILL = signal.SIGKILL if sys.platform != "win32" else signal.SIGTERM
@@ -488,7 +487,6 @@ def test_reconstruction_chain(ray_start_cluster, reconstruction_enabled):
raise e.as_instanceof_cause()
@pytest.mark.skipif(new_scheduler_enabled(), reason="hangs")
def test_reconstruction_stress(ray_start_cluster):
config = {
"num_heartbeats_timeout": 10,