101c215125c4142e853985c53e62c9b4b73dc230,python/ray/tests/test_tempfile.py,,test_raylet_socket_name,#Any#,81

Before Change


    except OSError:
        pass  // It could have been removed by Ray.
    cluster = Cluster(True)
    cluster.add_node(
        raylet_socket_name=os.path.join(ray.utils.get_user_temp_dir(),
                                        "i_am_a_temp_socket_2"))
    assert os.path.exists(
        os.path.join(
            ray.utils.get_user_temp_dir(),
            "i_am_a_temp_socket_2")), "Specified socket path not found."

After Change


        pass  // It could have been removed by Ray.
    cluster = Cluster(True)
    sock2 = unix_socket_create_path("i_am_a_temp_socket_2")
    cluster.add_node(raylet_socket_name=sock2)
    unix_socket_verify(sock2)
    cluster.shutdown()
    try:
        unix_socket_delete(sock2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: ray-project/ray
Commit Name: 101c215125c4142e853985c53e62c9b4b73dc230
Time: 2020-06-12
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/tests/test_tempfile.py
Class Name:
Method Name: test_raylet_socket_name


Project Name: ray-project/ray
Commit Name: a0700e2f86602b8ab81e8d54c530771ca3f6f3a8
Time: 2020-03-16
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/tests/test_tempfile.py
Class Name:
Method Name: test_raylet_socket_name


Project Name: ray-project/ray
Commit Name: a0700e2f86602b8ab81e8d54c530771ca3f6f3a8
Time: 2020-03-16
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/tests/test_tempfile.py
Class Name:
Method Name: test_temp_plasma_store_socket


Project Name: ray-project/ray
Commit Name: 101c215125c4142e853985c53e62c9b4b73dc230
Time: 2020-06-12
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/tests/test_tempfile.py
Class Name:
Method Name: test_temp_plasma_store_socket