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

protocols/kad/query/closest: Make quickcheck deterministic #1571

Merged
merged 2 commits into from
May 12, 2020

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented May 11, 2020

Instead of creating unconstrained random number generators in quickcheck
tests to generate test data, have quickcheck provide a Seed to seed
those random number generators and thus make the test execution
deterministic / reproducible.

Instead of creating unconstrained random number generators in quickcheck
tests to generate test data, have quickcheck provide a `Seed` to seed
those random number generators and thus make the test execution
deterministic / reproducible.
@mxinden
Copy link
Member Author

mxinden commented May 12, 2020

Thanks for the review. I will merge later today to give everyone interested a chance to take a look (not implying that this commit is in any way particularly interesting).

@mxinden mxinden merged commit 70e7971 into libp2p:master May 12, 2020
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.

2 participants