mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-06 20:13:59 -05:00
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull request after you open it. We cannot review code without a signed CLA. 2. Please file an associated tracking issue if this pull request is non-trivial and requires context for our team to understand. All features and most bug fixes should have an associated issue with a design discussed and decided upon. Small bug fixes and documentation improvements don't need issues. 3. New features and bug fixes must have tests. Documentation may need to be updated. If you're unsure what to update, send the PR, and we'll discuss in review. 4. Note that PRs updating dependencies and new Go versions are not accepted. Please file an issue instead. 5. A changelog entry is required for user facing issues. --> **What type of PR is this?** Tests **What does this PR do? Why is it needed?** ``` --- PASS: TestEndToEnd_MinimalConfig/chain_started (0.50s) -- --- PASS: TestEndToEnd_MinimalConfig/finished_syncing_0 (0.00s) --- PASS: TestEndToEnd_MinimalConfig/all_nodes_have_same_head_0 (0.00s) --- PASS: TestEndToEnd_MinimalConfig/validators_active_epoch_0 (0.00s) --- FAIL: TestEndToEnd_MinimalConfig/validator_sync_participation_0 (0.01s) --- PASS: TestEndToEnd_MinimalConfig/peers_connect_epoch_0 (0.11s) ``` This PR attempts to reduce flakes on validator sync participation failures by skipping the first slot of the block after startup **Which issues(s) does this PR fix?** Fixes # **Other notes for review** **Acknowledgements** - [x] I have read [CONTRIBUTING.md](https://github.com/prysmaticlabs/prysm/blob/develop/CONTRIBUTING.md). - [x] I have included a uniquely named [changelog fragment file](https://github.com/prysmaticlabs/prysm/blob/develop/CONTRIBUTING.md#maintaining-changelogmd). - [x] I have added a description with sufficient context for reviewers to understand this PR. - [x] I have tested that my changes work as expected and I added a testing plan to the PR description (if applicable).
End-to-end Testing Package
This is the main project folder of the end-to-end testing suite for Prysm. This performs a full end-to-end test for Prysm, including spinning up an ETH1 dev chain, sending deposits to the deposit contract, and making sure the beacon node and its validators are running and performing properly for a few epochs. It also performs a test on a syncing node, and supports feature flags to allow easy E2E testing of experimental features.
How it works
Please see our docs page, https://docs.prylabs.network/docs/devtools/end-to-end, to read more about the feature.