Skip to content

tests: fix flaky TestApplicationsUpgradeOverGossip#6251

Merged
algorandskiy merged 3 commits intoalgorand:masterfrom
algorandskiy:pavel/fix-app-support-test
Feb 12, 2025
Merged

tests: fix flaky TestApplicationsUpgradeOverGossip#6251
algorandskiy merged 3 commits intoalgorand:masterfrom
algorandskiy:pavel/fix-app-support-test

Conversation

@algorandskiy
Copy link
Copy Markdown
Contributor

Summary

  1. TestApplicationsUpgradeOverGossip was not waiting for initial account funding. Fixed.
  2. TestCatchpointAfterStakeLookupTxns uses newSimpleLedgerFull helper to create on-disk ledger and ended up polluting local work dir with ledger db files.

Test Plan

These are test fixes

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.78%. Comparing base (2f07e60) to head (d8227cb).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6251   +/-   ##
=======================================
  Coverage   51.77%   51.78%           
=======================================
  Files         644      644           
  Lines       86494    86494           
=======================================
+ Hits        44781    44787    +6     
+ Misses      38843    38841    -2     
+ Partials     2870     2866    -4     

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

gmalouf
gmalouf previously approved these changes Feb 12, 2025
Copy link
Copy Markdown
Contributor

@jannotti jannotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look correct.

Why the change to not test when "short"? They're slow tests?

@algorandskiy
Copy link
Copy Markdown
Contributor Author

Why the change to not test when "short"? They're slow tests?

yes, longRound cases add 40s more to shortRound tests (18s)

@algorandskiy algorandskiy merged commit 5101b27 into algorand:master Feb 12, 2025
@algorandskiy algorandskiy deleted the pavel/fix-app-support-test branch March 16, 2026 20:05
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.

4 participants