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

[State Sync] Add continuous syncer unit tests. #753

Merged
merged 1 commit into from
May 4, 2022
Merged

[State Sync] Add continuous syncer unit tests. #753

merged 1 commit into from
May 4, 2022

Conversation

JoshLind
Copy link
Contributor

@JoshLind JoshLind commented May 2, 2022

Motivation

This PR adds some simple unit tests to the continuous syncer component of the state sync driver. To achieve this, we use the mockall crate to mock the dependencies in the unit tests (continuing along the same path as #656).

Have you read the Contributing Guidelines on pull requests?

Yes.

Test Plan

The new unit tests pass.

Related PRs

None, but this PR relates to: #245

@JoshLind
Copy link
Contributor Author

JoshLind commented May 4, 2022

Thanks @msmouse!

/land

@aptos-bot
Copy link
Contributor

Forge run: https://circleci.com/gh/aptos-labs/aptos-core/13333
Forge test result: ``

@aptos-bot aptos-bot closed this in 0c46c99 May 4, 2022
@aptos-bot aptos-bot merged commit 0c46c99 into aptos-labs:main May 4, 2022
gregnazario pushed a commit to gregnazario/aptos-core that referenced this pull request May 5, 2022
dr-smo pushed a commit to metaworkz/aptos-core that referenced this pull request May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants