mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 19:05:52 +08:00
Move global state API out of global_state object. (#4857)
This commit is contained in:
committed by
Philipp Moritz
parent
ea8d7b4dc0
commit
6703519144
@@ -80,7 +80,7 @@ def test_object_broadcast(ray_start_cluster_with_resource):
|
||||
|
||||
# Wait for profiling information to be pushed to the profile table.
|
||||
time.sleep(1)
|
||||
transfer_events = ray.global_state.chrome_tracing_object_transfer_dump()
|
||||
transfer_events = ray.object_transfer_timeline()
|
||||
|
||||
# Make sure that each object was transferred a reasonable number of times.
|
||||
for x_id in object_ids:
|
||||
@@ -160,7 +160,7 @@ def test_actor_broadcast(ray_start_cluster_with_resource):
|
||||
|
||||
# Wait for profiling information to be pushed to the profile table.
|
||||
time.sleep(1)
|
||||
transfer_events = ray.global_state.chrome_tracing_object_transfer_dump()
|
||||
transfer_events = ray.object_transfer_timeline()
|
||||
|
||||
# Make sure that each object was transferred a reasonable number of times.
|
||||
for x_id in object_ids:
|
||||
|
||||
Reference in New Issue
Block a user