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

Change unit test of stratum to use unused ports #923

Merged
merged 5 commits into from
Dec 4, 2018

Conversation

hyunsikjeong
Copy link
Contributor

Resolves: #457
This design is inevitable, because if ranges are overlapping each other, then there will be a race condition while finding the port due to parallel testing, so each test case will be able to choose the same port.
If there's a better way, please let me know.

stratum/src/lib.rs Outdated Show resolved Hide resolved
@hyunsikjeong hyunsikjeong force-pushed the fix-stratum-unit-test branch from e1c0659 to de185bd Compare December 3, 2018 00:51
@sgkim126 sgkim126 merged commit cfb85ea into CodeChain-io:master Dec 4, 2018
@hyunsikjeong hyunsikjeong deleted the fix-stratum-unit-test branch December 6, 2018 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants