bdc6624da8848fbd1bf370f22ce0947b3c9dca6a,python/ray/tests/test_placement_group.py,,test_create_placement_group_after_gcs_server_restart,#Any#,1171

Before Change



    // Create placement group 1 successfully.
    placement_group1 = ray.util.placement_group([{"CPU": 1}, {"CPU": 1}])
    assert placement_group1.wait(10000)
    table = ray.util.placement_group_table(placement_group1)
    assert table["state"] == "CREATED"

    // Restart gcs server.

After Change



    // Create placement group 2 successfully.
    placement_group2 = ray.util.placement_group([{"CPU": 1}, {"CPU": 1}])
    ray.get(placement_group2.ready(), timeout=10)
    table = ray.util.placement_group_table(placement_group2)
    assert table["state"] == "CREATED"

    // Create placement group 3.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: ray-project/ray
Commit Name: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_create_placement_group_after_gcs_server_restart


Project Name: ray-project/ray
Commit Name: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_create_placement_group_during_gcs_server_restart


Project Name: ray-project/ray
Commit Name: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_strict_spread


Project Name: ray-project/ray
Commit Name: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@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: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@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: bdc6624da8848fbd1bf370f22ce0947b3c9dca6a
Time: 2020-12-12
Author: ekhliang@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_placement_group_strict_pack