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: use pocket-ic in e2e-tests #495

Merged
merged 15 commits into from
May 28, 2024
Merged

test: use pocket-ic in e2e-tests #495

merged 15 commits into from
May 28, 2024

Conversation

lwshang
Copy link
Contributor

@lwshang lwshang commented May 26, 2024

Description

Upgrading ic-test-state-machine-client server binary results in test errors. We have to migrate to pocket-ic now.

  • The server binary is fetched using mono-repo tag so that we can get up-to-date functionalities.
  • The behavior of pocket-ic is more closed to the mainnet than a local replica. Some tests were modified to pass.
    • More init cycles to avoid "out of cycles" errors
    • The clock (round) advance strategy is quite different with the ic-test-state-machine-client. Following tests were changed significantly:
      • test_scheduling_many_timers
      • test_set_global_timers
      • test_canister_info

SDK-1676

@lwshang lwshang marked this pull request as ready for review May 28, 2024 14:20
@lwshang lwshang requested a review from a team as a code owner May 28, 2024 14:20
@lwshang lwshang merged commit 7fa27b0 into main May 28, 2024
19 checks passed
@lwshang lwshang deleted the lwshang/pocketic branch May 28, 2024 14:28
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.

2 participants