test: harden scheduling review boundaries
This commit is contained in:
@@ -82,8 +82,10 @@ def test_active_attempt_marker_is_durable(tmp_path: Path) -> None:
|
||||
# executing. Echo runs complete immediately so restore fails first on
|
||||
# non-interrupted status; the ACTIVE guard is exercised on interrupted
|
||||
# runs in recovery tests (T10).
|
||||
assert store.get_resume_attempt(run_id) is not None
|
||||
assert store.get_resume_attempt(run_id).state == "ACTIVE" # type: ignore[union-attr]
|
||||
reopened = FileRunStore(store.root)
|
||||
attempt = reopened.get_resume_attempt(run_id)
|
||||
assert attempt is not None
|
||||
assert attempt.state == "ACTIVE"
|
||||
|
||||
|
||||
def test_stopped_checkpoint_echoes_attempt_id(tmp_path: Path) -> None:
|
||||
|
||||
Reference in New Issue
Block a user