By default, reconstruction should only be enabled for actor creation. (#6613)

* wip

* fix

* fix
This commit is contained in:
Eric Liang
2019-12-26 19:57:50 -08:00
committed by GitHub
parent 98689bd263
commit d3db9e9c1e
8 changed files with 20 additions and 40 deletions
-4
View File
@@ -16,11 +16,8 @@ import time
import ray
import ray.test_utils
import ray.cluster_utils
from ray import ray_constants
from ray.test_utils import run_string_as_driver
RAY_FORCE_DIRECT = ray_constants.direct_call_enabled()
def test_actor_init_error_propagated(ray_start_regular):
@ray.remote
@@ -810,7 +807,6 @@ def test_exception_raised_when_actor_node_dies(ray_start_cluster_head):
@pytest.mark.skipif(
os.environ.get("RAY_USE_NEW_GCS") == "on",
reason="Hanging with new GCS API.")
@pytest.mark.skipif(RAY_FORCE_DIRECT, reason="no ft yet")
def test_actor_init_fails(ray_start_cluster_head):
cluster = ray_start_cluster_head
remote_node = cluster.add_node()