Fix test-multi-node (#9453)

This commit is contained in:
SangBin Cho
2020-07-13 18:44:27 -07:00
committed by GitHub
parent a567f7977c
commit 22b2e51152
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -183,7 +183,7 @@ class GlobalState:
for i in range(len(object_table)):
object_location_info = gcs_utils.ObjectLocationInfo.FromString(
object_table[i])
results[binary_to_hex(object_location_info.object_ref)] = \
results[binary_to_hex(object_location_info.object_id)] = \
self._gen_object_info(object_location_info)
return results
@@ -198,7 +198,7 @@ class GlobalState:
object_info = {
"ObjectRef": ray.utils.binary_to_hex(
object_location_info.object_ref),
object_location_info.object_id),
"Locations": locations,
}
return object_info