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

Implement archive test with mocked daemon #16329

Open
wants to merge 13 commits into
base: compatible
Choose a base branch
from

Conversation

dkijania
Copy link
Member

@dkijania dkijania commented Nov 7, 2024

Introducing quick component test for archive node with mocked daemon which simulates sending precomputed blocks. Test scenario is easy:

  • start archive node with runtime config (so genesis block will be included at startup)
  • use mina advanced archive-blocks to send precomputed blocks to archive node
  • validate all blocks are archived
  • run replayer to consistency check

While developing thte test i introduced new mini framework for defining test case with setup i and tear down)

NOTE:

I also had to regenerate archive data, that's why this PR contains also static data update under src/test/archive/sample_db and fix in split_precomputed_blocks.sh

@dkijania dkijania requested review from a team as code owners November 7, 2024 09:21
@dkijania dkijania self-assigned this Nov 7, 2024
@dkijania
Copy link
Member Author

dkijania commented Nov 7, 2024

!ci-build-me

6 similar comments
@dkijania
Copy link
Member Author

dkijania commented Nov 7, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Nov 8, 2024

!ci-build-me

@dkijania
Copy link
Member Author

dkijania commented Nov 8, 2024

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania
Copy link
Member Author

!ci-build-me

@dkijania dkijania force-pushed the dkijania/expand_archive_tests branch from f02d74a to d8b35ac Compare November 17, 2024 14:44
@dkijania
Copy link
Member Author

!ci-build-me

1 similar comment
@dkijania
Copy link
Member Author

!ci-build-me

@dkijania dkijania force-pushed the dkijania/expand_archive_tests branch from 93984f1 to 986210a Compare November 20, 2024 15:14
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