Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: reproduce that global timer is not reset after loading snapshot #3504

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mraszyk
Copy link
Contributor

@mraszyk mraszyk commented Jan 17, 2025

This PR runs the following scenario in a new PocketIC test:

  • take a canister snapshot
  • set the global timer
  • load the canister snapshot
  • advance time and execute a few rounds to provoke the global timer
  • assert that the global timer hasn't run

Intuitively, restoring a snapshot should reset all global timers set after that snapshot was taken, but this is not the case at the moment.

@github-actions github-actions bot added the test label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant