1754359281d8b4b9d15f2cb62ca5330d8c6ea84f,python/ray/tests/test_placement_group.py,,test_detached_placement_group,#Any#,1316

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())

    // We should have 2 alive pgs and 4 alive actors.
    assert assert_alive_num_pg(2)
    assert assert_alive_num_actor(4)

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

    // We should have 2 alive pgs and 4 alive actors.
    assert assert_alive_num_pg(2)
    assert assert_alive_num_actor(4)

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_detached_placement_group


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_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_capture_child_actors