-
Notifications
You must be signed in to change notification settings - Fork 471
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 TestBasicCatchpointCatchup #4390
tests: fix TestBasicCatchpointCatchup #4390
Conversation
* After the protocol upgrade nodes required to have MaxTxnLife + DeeperBlockHeaderHistory blocks that violated the test's expectations. * Fixed a rare case when a block exists in a local ledger but peer's stat is still updated even if no communications were made.
Codecov Report
@@ Coverage Diff @@
## master #4390 +/- ##
==========================================
- Coverage 55.63% 55.62% -0.01%
==========================================
Files 403 403
Lines 50805 50806 +1
==========================================
- Hits 28263 28261 -2
- Misses 20148 20154 +6
+ Partials 2394 2391 -3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
Minor comment.
c4dacb8
to
8f59016
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@algorandskiy Thanks for your continued efforts to reduce flaky tests!
My approval is limited to test/e2e-go/features/catchup/catchpointCatchup_test.go
and supporting test changes.
I'm not familiar enough with psp
changes in catchup/catchpointService.go
to feel comfortable approving it. I trust your judgment to solicit additional reviews as you feel necessary.
* After the protocol upgrade nodes required to have MaxTxnLife + DeeperBlockHeaderHistory blocks that violated the test's expectations. * Fixed a rare case when a block exists in a local ledger but peer's stat is still updated even if no communications were made.
Summary
blocks that violated the test's expectations.
even if no communications were made.
Tests
Run the test multiple times