-
Notifications
You must be signed in to change notification settings - Fork 175
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
Re-enable Epoch Integration Tests #3835
Conversation
Previously failure to retrieve finalized block would log an error but continue, causing a nil ptr exception.
Codecov Report
@@ Coverage Diff @@
## feature/active-pacemaker #3835 +/- ##
============================================================
- Coverage 53.51% 44.53% -8.98%
============================================================
Files 812 223 -589
Lines 76585 25261 -51324
============================================================
- Hits 40984 11251 -29733
+ Misses 32307 12999 -19308
+ Partials 3294 1011 -2283
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
(we should look at splitting these out into separate jobs, but this will show whether test changes are working)
Previously ANs joining with non-spork-root snapshot would skip ingesting first 600 block's collection, to ensure they could resolve all reference blocks. That has been replaced by ensuring the initial snapshot itself has enough history to resolve all reference blocks for all ingested blocks after the root block
(which will create and setup staking account all in one shot)
* remove unused functions, add link to commit where they can be found again if needed
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 good
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.
very nice.
sdktemplates "github.com/onflow/flow-go-sdk/templates" | ||
"github.com/onflow/flow-go/model/flow" | ||
) | ||
|
||
//go:embed templates/create-and-setup-node.cdc |
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.
cool, didn't know about go:embed
; very handy
bors merge |
3869: Sync `feature/active-pacemaker` with `v0.29` r=jordanschalm a=jordanschalm Sync `feature/active-pacemaker` with `v0.29` Adds 2 PRs: - #3859 - #3835 Additional commit resolves merge conflicts: - 0ba6366 Co-authored-by: Jordan Schalm <jordan@dapperlabs.com> Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
3869: Sync `feature/active-pacemaker` with `v0.29` r=jordanschalm a=jordanschalm Sync `feature/active-pacemaker` with `v0.29` Adds 2 PRs: - #3859 - #3835 Additional commit resolves merge conflicts: - 0ba6366 Co-authored-by: Jordan Schalm <jordan@dapperlabs.com> Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
This PR re-enables all epoch integration tests, reduces time taken by epoch integration tests by about 30%, and fixes a bug in the snapshot validator function.
Test Speed Notes
Local
Before improvements, was 650-720s.
After improvements, is 400-430s
CI
Before improvements, was 30-40m
After improvements, is ~23m