dcb9e03fde3116f7c43787947ea6f0b37ddb3210,python/ray/tests/test_placement_group.py,,test_atomic_creation,#Any#,620

Before Change


    assert len(unready) == 1

    // Add a node back to schedule placement group.
    for _ in range(len(nodes_to_kill)):
        nodes.append(
            cluster.add_node(num_cpus=bundle_cpu_size * bundle_per_node))
    // Wait on the placement group creation.
    ready, unready = ray.wait([pg.ready()])
    assert len(ready) == 1
    assert len(unready) == 0

After Change


    def pg_removed():
        return ray.util.placement_group_table(pg)["state"] == "REMOVED"

    wait_for_condition(pg_removed)

    // Make sure check without pgs are all
    // scheduled properly because resources are cleaned up.
    assert all(ray.get(check_without_pg))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: dcb9e03fde3116f7c43787947ea6f0b37ddb3210
Time: 2020-09-08
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_placement_group.py
Class Name:
Method Name: test_atomic_creation


Project Name: ray-project/ray
Commit Name: 8223a33bff9b8d0e736571c9808b27dc2e2a74f5
Time: 2020-11-30
Author: rkooo567@gmail.com
File Name: python/ray/tests/test_tempfile.py
Class Name:
Method Name: test_raylet_tempfiles


Project Name: ray-project/ray
Commit Name: 43932f5330ec5a7e2ab55d64a7d3a91f47acdf65
Time: 2021-04-05
Author: ed.nmi.oakes@gmail.com
File Name: python/ray/serve/tests/test_failure.py
Class Name:
Method Name: test_http_proxy_failure


Project Name: ray-project/ray
Commit Name: bed1be611e075a1e676c0bc66e26824e728108b2
Time: 2020-07-09
Author: chenh1024@gmail.com
File Name: python/ray/tests/test_dynres.py
Class Name:
Method Name: test_dynamic_res_creation_clientid_multiple