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

Use OS picked ports in core_test #3555

Conversation

theohax
Copy link
Contributor

@theohax theohax commented Nov 21, 2021

This PR leverages #3554 for the core_test unit tests in the sense that all unit tests now rely on ports picked by the OS (for peering and websocket at least) instead of relying on the nano::get_available_port functionality.

The PR is based off (and target towards) #3554 for easier reviewing and not having to wait until one gets merged to open the second.

@theohax theohax added the unit test Related to a new, changed or fixed unit test label Nov 21, 2021
@theohax theohax added this to the V24.0 milestone Nov 21, 2021
@theohax theohax force-pushed the zzz-introduce-os-picked-ports-support branch 2 times, most recently from 6a89397 to a7d0895 Compare November 22, 2021 00:03
@clemahieu clemahieu merged commit 42686a6 into zzz-introduce-os-picked-ports-support Dec 1, 2021
@clemahieu clemahieu deleted the zzz-use-os-picked-ports-in-core-tests branch December 1, 2021 11:56
theohax added a commit that referenced this pull request Dec 14, 2021
* Introduce support for binding sockets to ports picked by the OS

* Use ports picked by OS in all core_test unit tests (#3555)

* Rebase branch and address code review

* Formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit test Related to a new, changed or fixed unit test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants