Fix linting on master branch (#6174)

This commit is contained in:
Philipp Moritz
2019-11-16 10:02:58 -08:00
committed by GitHub
parent a68cda0a33
commit fc655acfee
11 changed files with 15 additions and 20 deletions
+1 -1
View File
@@ -2523,7 +2523,7 @@ def test_checkpointing_on_node_failure(ray_start_cluster_2_nodes,
"""Test actor checkpointing on a remote node."""
# Place the actor on the remote node.
cluster = ray_start_cluster_2_nodes
remote_node = [node for node in cluster.worker_nodes]
remote_node = list(cluster.worker_nodes)
actor_cls = ray.remote(max_reconstructions=1)(ray_checkpointable_actor_cls)
actor = actor_cls.remote()
while (ray.get(actor.node_id.remote()) != remote_node[0].unique_id):