mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 15:56:55 +08:00
[flaky test] Fix flaky checkpointing tests (#5791)
* Fix flaky checkpointing tests * Fix checkpoint test logic * Fix exception matching * timeout exception * Fix import * fix build
This commit is contained in:
@@ -866,7 +866,7 @@ class FunctionActorManager(object):
|
||||
# `available_checkpoints` list.
|
||||
msg = (
|
||||
"`load_checkpoint` must return a checkpoint id that " +
|
||||
"exists in the `available_checkpoints` list, or eone.")
|
||||
"exists in the `available_checkpoints` list, or None.")
|
||||
assert any(checkpoint_id == checkpoint.checkpoint_id
|
||||
for checkpoint in checkpoints), msg
|
||||
# Notify raylet that this actor has been resumed from
|
||||
|
||||
Reference in New Issue
Block a user