Skip to content

Don’t require compiled Boost components; stabilize TCP-based tests#223

Open
ialexyi wants to merge 2 commits intozeromq:masterfrom
ialexyi:fix/no-boost-components
Open

Don’t require compiled Boost components; stabilize TCP-based tests#223
ialexyi wants to merge 2 commits intozeromq:masterfrom
ialexyi:fix/no-boost-components

Conversation

@ialexyi
Copy link

@ialexyi ialexyi commented Feb 17, 2026

This PR reduces Azmq’s Boost dependency surface and makes the test suite reliable under parallel execution.

Build/packaging: switch to header-only Boost discovery (Boost::headers) and stop requiring Boost component libraries (e.g. thread/chrono/random/date_time/system).
CMake exports: update azmqConfig.cmake to use find_dependency(Boost … headers) and find_dependency(Threads) so consumers get consistent dependency resolution.
Tests: remove hard-coded TCP ports (5556/5560/9998) that caused intermittent ZeroMQ:98 Address already in use failures; bind to dynamic endpoints (tcp://127.0.0.1:*) and connect using the actual endpoint().
Tests: loosen Socket Monitor expectations to tolerate additional monitor events that can occur with dynamic binding.
Verification

Use dynamic tcp endpoints to prevent EADDRINUSE flakiness under parallel runs. Also clarify Boost dependency is headers-only in README.
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.

1 participant