[New Scheduler] Don't start tasks if the owner is dead (#12050)

This commit is contained in:
Alex Wu
2020-11-18 11:34:19 -08:00
committed by GitHub
parent eef624750c
commit e9c9ba9c9f
7 changed files with 101 additions and 33 deletions
+1 -2
View File
@@ -12,7 +12,7 @@ import ray
import ray.test_utils
import ray.cluster_utils
from ray.test_utils import (run_string_as_driver, get_non_head_nodes,
wait_for_condition, new_scheduler_enabled)
wait_for_condition)
from ray.experimental.internal_kv import _internal_kv_get, _internal_kv_put
@@ -943,7 +943,6 @@ def test_actor_creation_task_crash(ray_start_regular):
}
}],
indirect=True)
@pytest.mark.skipif(new_scheduler_enabled(), reason="todo hangs")
def test_pending_actor_removed_by_owner(ray_start_regular):
# Verify when an owner of pending actors is killed, the actor resources
# are correctly returned.