d9124e932954f9c497c49548c588f2b9f918c676,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)
    try:
        ray.get(a.ready.remote())
    except ray.exceptions.RayActorError:
        pass

    // Lastly, make sure when None is specified, actors are not scheduled
    // on the same placement group.
    a = Actor.options(placement_group=pg).remote()
    ray.get(a.ready.remote())
    // 1 top level actor + 3 children.
    for _ in range(total_num_actors - 1):

After Change



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

    // Lastly, make sure when None is specified, actors are not scheduled
    // on the same placement group.
    a = Actor.options(placement_group=pg).remote()
    ray.get(a.ready.remote())
    // 1 top level actor + 3 children.
    for _ in range(total_num_actors - 1):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: ray-project/ray
Commit Name: d9124e932954f9c497c49548c588f2b9f918c676
Time: 2021-02-16
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_actors


Project Name: ray-project/ray
Commit Name: f51c26bae62b00a78bc6f3eb1c7979bce9f15a84
Time: 2021-02-09
Author: simon.mo@hey.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_capture_child_actors


Project Name: ray-project/ray
Commit Name: f51c26bae62b00a78bc6f3eb1c7979bce9f15a84
Time: 2021-02-09
Author: simon.mo@hey.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_detached_placement_group


Project Name: ray-project/ray
Commit Name: d9124e932954f9c497c49548c588f2b9f918c676
Time: 2021-02-16
Author: architkulkarni@users.noreply.github.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_detached_placement_group