Skip to content

Use OS picked ports in core_test#3555

Merged
clemahieu merged 1 commit intozzz-introduce-os-picked-ports-supportfrom
zzz-use-os-picked-ports-in-core-tests
Dec 1, 2021
Merged

Use OS picked ports in core_test#3555
clemahieu merged 1 commit intozzz-introduce-os-picked-ports-supportfrom
zzz-use-os-picked-ports-in-core-tests

Conversation

@theohax
Copy link
Copy Markdown
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.

3 participants