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: Minimize flakiness in TestBasicPayouts #6211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jannotti
Copy link
Contributor

Flakiness seemed to come from one of two places

  1. Testing balances after a proposal as sometimes wrong, if the proposer proposed AGAIN before we performed the checks.

  2. An off by one error such that if account01 (which proposed rarely) proposed in exactly the lookback'th round after burning algos, we thought it should not get paid, but it should.

Summary

Test Plan

Flakiness seemed to come from one of two places

1) Testing balances after a proposal as sometimes wrong, if the
proposer proposed AGAIN before we performed the checks.

2) An off by one error such that if account01 (which proposed rarely)
proposed in exactly the lookback'th round after burning algos, we
thought it should not get paid, but it should.
@jannotti jannotti changed the title Minimize flakiness in TestBasicPayouts Tests: Minimize flakiness in TestBasicPayouts Dec 20, 2024
@jannotti jannotti self-assigned this Dec 20, 2024
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.91%. Comparing base (005495b) to head (a2b1297).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6211      +/-   ##
==========================================
- Coverage   51.92%   51.91%   -0.01%     
==========================================
  Files         643      643              
  Lines       86240    86240              
==========================================
- Hits        44779    44774       -5     
- Misses      38598    38599       +1     
- Partials     2863     2867       +4     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant