e594524ed3745f805fbf1a9831fbf57ff76f8fc3,python/ray/tests/test_multinode_failures.py,,check_components_alive,#Any#Any#Any#,126

Before Change



def check_components_alive(cluster, component_type, check_component_alive):
    Check that a given component type is alive on all worker nodes.
    worker_nodes = cluster.list_all_nodes()[1:]
    assert len(worker_nodes) > 0
    for node in worker_nodes:
        process = node.all_processes[component_type][0].process
        if check_component_alive:

After Change



def check_components_alive(cluster, component_type, check_component_alive):
    Check that a given component type is alive on all worker nodes.
    worker_nodes = get_other_nodes(cluster)
    assert len(worker_nodes) > 0
    for node in worker_nodes:
        process = node.all_processes[component_type][0].process
        if check_component_alive:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: ray-project/ray
Commit Name: e594524ed3745f805fbf1a9831fbf57ff76f8fc3
Time: 2020-05-28
Author: skyzlxuan@gmail.com
File Name: python/ray/tests/test_multinode_failures.py
Class Name:
Method Name: check_components_alive


Project Name: ray-project/ray
Commit Name: e594524ed3745f805fbf1a9831fbf57ff76f8fc3
Time: 2020-05-28
Author: skyzlxuan@gmail.com
File Name: python/ray/tests/test_component_failures_2.py
Class Name:
Method Name: check_components_alive


Project Name: ray-project/ray
Commit Name: e594524ed3745f805fbf1a9831fbf57ff76f8fc3
Time: 2020-05-28
Author: skyzlxuan@gmail.com
File Name: python/ray/tests/test_multinode_failures.py
Class Name:
Method Name: _test_component_failed


Project Name: ray-project/ray
Commit Name: e594524ed3745f805fbf1a9831fbf57ff76f8fc3
Time: 2020-05-28
Author: skyzlxuan@gmail.com
File Name: python/ray/tests/test_component_failures_2.py
Class Name:
Method Name: _test_component_failed