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
@@ -82,7 +82,6 @@ def test_object_reconstruction(ray_start_cluster):
ray.get(xs)
@pytest.mark.skipif(RAY_FORCE_DIRECT, reason="no actor restart yet")
@pytest.mark.parametrize(
"ray_start_cluster", [{
"num_cpus": 4,
@@ -105,7 +104,7 @@ def test_actor_creation_node_failure(ray_start_cluster):
if exit_chance < self.death_probability:
sys.exit(-1)
num_children = 50
num_children = 25
# Children actors will die about half the time.
death_probability = 0.5