Skip to content

test(registry): cover unpause stranger, unknown id, replay, and All vs Draws flows (#112) - #1133

Closed
jeffrey-graham wants to merge 1 commit into
DevTobis:mainfrom
jeffrey-graham:test/issue-112-registry-unpause-flows
Closed

jeffrey-graham wants to merge 1 commit into
DevTobis:mainfrom
jeffrey-graham:test/issue-112-registry-unpause-flows

Conversation

@jeffrey-graham

Copy link
Copy Markdown

Closes #112

Summary

  • Verifies a stranger cannot call queue_unpause and creates no PendingUnpause entry.
  • Verifies execute_unpause(999) and replaying an already-executed unpause id both panic with "registry: no such pending unpause".
  • Verifies unpausing PauseScope::All while PauseScope::Draws was also individually paused leaves is_paused(Draws) == true while clearing Pledges, Exits, Repos, and All.
  • Documents and tests that queueing and executing an unpause for a non-paused scope succeeds idempotently.

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.

Test Registry unpause flows: stranger, unknown id, double execute, All versus Draws

1 participant