Skip to content

tests: fix TestExactAccountChunk#5993

Merged
gmalouf merged 2 commits intoalgorand:masterfrom
algorandskiy:pavel/ci-ledger-test-catchpoint
May 9, 2024
Merged

tests: fix TestExactAccountChunk#5993
gmalouf merged 2 commits intoalgorand:masterfrom
algorandskiy:pavel/ci-ledger-test-catchpoint

Conversation

@algorandskiy
Copy link
Copy Markdown
Contributor

@algorandskiy algorandskiy commented May 7, 2024

Summary

TestExactAccountChunk compares MT stats on different components of a DoubleLeger. Sometimes these two might flush different number of rounds to disk causing different MTs (and catchpoint).
Force flushing and waiting should after should minimize such discrepancy.

Testing

This is a fix to unstable TestExactAccountChunk that should pass.
Run multiple times locally and on CI.

@codecov
Copy link
Copy Markdown

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.93%. Comparing base (c4072a6) to head (3b92104).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5993      +/-   ##
==========================================
- Coverage   55.94%   55.93%   -0.02%     
==========================================
  Files         482      482              
  Lines       68310    68310              
==========================================
- Hits        38219    38212       -7     
- Misses      27500    27502       +2     
- Partials     2591     2596       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@algorandskiy algorandskiy force-pushed the pavel/ci-ledger-test-catchpoint branch from 97f19fd to e3eb1f7 Compare May 8, 2024 16:11
@algorandskiy algorandskiy force-pushed the pavel/ci-ledger-test-catchpoint branch from 748e168 to 3b92104 Compare May 8, 2024 20:27
@algorandskiy algorandskiy changed the title tests: debug TestExactAccountChunk tests: fix TestExactAccountChunk May 8, 2024
@algorandskiy algorandskiy requested review from cce, gmalouf and jannotti May 8, 2024 20:32
@algorandskiy algorandskiy marked this pull request as ready for review May 8, 2024 20:32
@gmalouf gmalouf merged commit 53a58cc into algorand:master May 9, 2024
@algorandskiy algorandskiy deleted the pavel/ci-ledger-test-catchpoint branch March 16, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants