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

pytest: check reading chunks from storage in block_sync_archival.py #6376

Merged
merged 3 commits into from
Mar 2, 2022

Commits on Mar 2, 2022

  1. pytest: check reading chunks from storage in block_sync_archival.py

    The ShardManager keeps cache of encoded chunks going back 1024 heights
    which means that nodes which request partial chunks for a recent block
    will be satisfied by data in the cache.  This means that since only
    a hundred blocks are generated in block_sync_archival.py test, the
    code path where data is read from storage is never executed.
    
    Extend the test such that it generates 1500 blocks to make sure that
    both code paths are executed.
    
    Issue: #6242
    mina86 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    aff45ff View commit details
    Browse the repository at this point in the history
  2. review and increase timeout

    mina86 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    12b0bfd View commit details
    Browse the repository at this point in the history
  3. argparse

    mina86 committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    1e41b97 View commit details
    Browse the repository at this point in the history