1754359281d8b4b9d15f2cb62ca5330d8c6ea84f,python/ray/tests/test_placement_group.py,,test_capture_child_actors,#Any#,841

Before Change



    // Kill an actor and wait until it is killed.
    ray.kill(a)
    with pytest.raises(ray.exceptions.RayActorError):
        ray.get(a.ready.remote())

    // Now create an actor, but do not capture the current tasks
    a = Actor.options(
        placement_group=pg,
        placement_group_capture_child_tasks=False).remote()
    ray.get(a.ready.remote())

After Change



    // Kill an actor and wait until it is killed.
    ray.kill(a)
    try:
        ray.get(a.ready.remote())
    except ray.exceptions.RayActorError:
        pass

    // Now create an actor, but do not capture the current tasks
    a = Actor.options(
        placement_group=pg,
        placement_group_capture_child_tasks=False).remote()
    ray.get(a.ready.remote())
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: ray-project/ray
Commit Name: 1754359281d8b4b9d15f2cb62ca5330d8c6ea84f
Time: 2021-02-09
Author: 869218239a@zju.edu.cn
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_actors


Project Name: ray-project/ray
Commit Name: 2092b097eab41b118a117fdfadd0fe664db41f63
Time: 2021-02-08
Author: 869218239a@zju.edu.cn
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_actors


Project Name: ray-project/ray
Commit Name: 1754359281d8b4b9d15f2cb62ca5330d8c6ea84f
Time: 2021-02-09
Author: 869218239a@zju.edu.cn
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_detached_placement_group


Project Name: ray-project/ray
Commit Name: 2092b097eab41b118a117fdfadd0fe664db41f63
Time: 2021-02-08
Author: 869218239a@zju.edu.cn
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_detached_placement_group