[xray] Implement fetch (#2195)

This commit is contained in:
Philipp Moritz
2018-06-09 23:36:27 -07:00
committed by Robert Nishihara
parent 125fe1c09c
commit 4ec5bea03b
11 changed files with 120 additions and 79 deletions
+2 -2
View File
@@ -492,8 +492,8 @@ class ReconstructionTests(unittest.TestCase):
# were evicted and whose originating tasks are still running, this
# for-loop should hang on its first iteration and push an error to the
# driver.
ray.worker.global_worker.local_scheduler_client.reconstruct_object(
args[0].id())
ray.worker.global_worker.local_scheduler_client.reconstruct_objects(
[args[0]], False)
def error_check(errors):
return len(errors) > 1