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

tests: fix flaky simulate test #5738

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

algorandskiy
Copy link
Contributor

Summary

TestSimulateStartRound flaked because it expects txn simulated execution failed at round 1 after catching up to round 7 but time to time ledger is delayed flushing most recent deltas and it has all the state at round 1 needed for simulated execution so the simulate succeeds.
Use Eventually to retry few times and give the ledger change to flush.

Test Plan

This is a test fix.

Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Fix looks good

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #5738 (ec27460) into master (f965427) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5738      +/-   ##
==========================================
- Coverage   55.59%   55.55%   -0.04%     
==========================================
  Files         476      476              
  Lines       66853    66853              
==========================================
- Hits        37165    37143      -22     
- Misses      27169    27189      +20     
- Partials     2519     2521       +2     

see 10 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@algorandskiy algorandskiy merged commit beec227 into algorand:master Sep 13, 2023
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