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

Refactor Sync tests #5313

Closed
wants to merge 3 commits into from
Closed

Refactor Sync tests #5313

wants to merge 3 commits into from

Conversation

schomatis
Copy link
Contributor

@schomatis schomatis commented Jan 9, 2021

This PR is the central point of information and placeholder for WIP notes on an effort to refactor some parts of the sync test logic and more clearly expose the validations taking place.

With no clear plan at the moment the basic intuition is to more clearly decouple between:

  • storing
  • fetching
  • validating
  • retransmitting

much of which is now under the umbrella of the Sync API.

Need to review flaky test #4829 after refactoring.

#5328: streamline sync top-level calls to reflect states. This helps moving validations in syncMessagesAndCheckState closer to the surface to start giving them an entity of their own.

#5370

#4624

@schomatis schomatis added kind/test Kind: Test area/chain Area: Chain labels Jan 9, 2021
@schomatis schomatis self-assigned this Jan 9, 2021
@schomatis schomatis mentioned this pull request Jan 12, 2021
@schomatis schomatis linked an issue Jan 12, 2021 that may be closed by this pull request
@schomatis schomatis closed this Feb 11, 2021
@schomatis schomatis deleted the schomatis/refactor/sync-test branch February 11, 2021 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chain Area: Chain kind/test Kind: Test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Sync tests
1 participant