3b3ca96a4e335d764e1ad5a72ca0560e2b635b94,python/ray/tests/test_placement_group.py,,test_placement_group_spread,#Any#,107

Before Change


        placement_group=placement_group,
        placement_group_bundle_index=1).remote()

    print(ray.get(actor_1.value.remote()))
    print(ray.get(actor_2.value.remote()))

    // Get all actors.
    actor_infos = ray.actors()

After Change


        }, {
            "CPU": 2
        }])
    ray.get(placement_group.ready())
    actor_1 = Actor.options(
        placement_group=placement_group,
        placement_group_bundle_index=0).remote()
    actor_2 = Actor.options(
        placement_group=placement_group,
        placement_group_bundle_index=1).remote()

    ray.get(actor_1.value.remote())
    ray.get(actor_2.value.remote())

    // Get all actors.
    actor_infos = ray.actors()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: ray-project/ray
Commit Name: 3b3ca96a4e335d764e1ad5a72ca0560e2b635b94
Time: 2020-08-24
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_spread


Project Name: ray-project/ray
Commit Name: 3b3ca96a4e335d764e1ad5a72ca0560e2b635b94
Time: 2020-08-24
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_strict_pack


Project Name: ray-project/ray
Commit Name: 3b3ca96a4e335d764e1ad5a72ca0560e2b635b94
Time: 2020-08-24
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_pack


Project Name: ray-project/ray
Commit Name: 3b3ca96a4e335d764e1ad5a72ca0560e2b635b94
Time: 2020-08-24
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_strict_spread