22cab930cdc6749fbc17c2f993b3c42123d8689c,ci/long_running_tests/workloads/serve_failure.py,RandomKiller,_get_all_serve_actors,#RandomKiller#,38
Before Change
[router] = ray.get(master.get_router.remote())
[http_proxy] = ray.get(master.get_http_proxy.remote())
all_handles = [master, router, http_proxy]
worker_handle_dict = ray.get(master.get_all_worker_handles.remote())
for _, replica_dict in worker_handle_dict.items():
all_handles.extend(list(replica_dict.values()))
return all_handles
After Change
[router] = retry_actor_failures(master.get_router)
[http_proxy] = retry_actor_failures(master.get_http_proxy)
all_handles = [master, router, http_proxy]
worker_handle_dict = retry_actor_failures(
master.get_all_worker_handles)
for _, replica_dict in worker_handle_dict.items():
all_handles.extend(list(replica_dict.values()))
return all_handles
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: ray-project/ray
Commit Name: 22cab930cdc6749fbc17c2f993b3c42123d8689c
Time: 2020-05-02
Author: ed.nmi.oakes@gmail.com
File Name: ci/long_running_tests/workloads/serve_failure.py
Class Name: RandomKiller
Method Name: _get_all_serve_actors