mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
By default, reconstruction should only be enabled for actor creation. (#6613)
* wip * fix * fix
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user