Skip to content

Assert persisted state and actual lifecycle recovery in tests - #31

Open
jeregrine wants to merge 1 commit into
mainfrom
test/assert-recovery-outcomes
Open

Assert persisted state and actual lifecycle recovery in tests#31
jeregrine wants to merge 1 commit into
mainfrom
test/assert-recovery-outcomes

Conversation

@jeregrine

Copy link
Copy Markdown
Member

Problem

Several sync and recovery cases pass without exercising their advertised behavior: sync checks only read process memory, a discovery failure case injects no failure, and an expiry case only asserts that stored data is a map.

Fix

Assert persisted state for call, cast, and info sync boundaries. Replace the ineffective expiry scenario with paired active/expired foreign-claim cases against a real supervisor, checking recovered state, ownership, and claim cleanup.

Remove redundant no-fault smoke cases and strengthen the existing injected discovery-crash regression to prove that the next cycle actually recovers a permanent server with its stored state.

Supporting information

This changes test scenarios and assertions only. The claim fixtures explicitly make the old owner orphaned and permanent, so claim expiry is the eligibility condition under examination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant