mirror of
https://github.com/wassname/ray.git
synced 2026-08-04 13:14:14 +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
@@ -2439,7 +2439,7 @@ def test_checkpointing_save_exception(ray_start_regular,
|
||||
assert ray.get(actor.was_resumed_from_checkpoint.remote()) is False
|
||||
|
||||
# Check that checkpointing errors were pushed to the driver.
|
||||
errors = ray.error_info()
|
||||
errors = ray.errors()
|
||||
assert len(errors) > 0
|
||||
for error in errors:
|
||||
# An error for the actor process dying may also get pushed.
|
||||
@@ -2483,7 +2483,7 @@ def test_checkpointing_load_exception(ray_start_regular,
|
||||
assert ray.get(actor.was_resumed_from_checkpoint.remote()) is False
|
||||
|
||||
# Check that checkpointing errors were pushed to the driver.
|
||||
errors = ray.error_info()
|
||||
errors = ray.errors()
|
||||
assert len(errors) > 0
|
||||
for error in errors:
|
||||
# An error for the actor process dying may also get pushed.
|
||||
|
||||
Reference in New Issue
Block a user