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

Many tests fail: bind: Address already in use #223

Open
yurivict opened this issue Aug 25, 2024 · 0 comments
Open

Many tests fail: bind: Address already in use #223

yurivict opened this issue Aug 25, 2024 · 0 comments

Comments

@yurivict
Copy link

I replaced the port 8086 with 23987 in the code, but tests still fail like this:

221/659 Testing: sync_chain::fixed_size_chain_with_rejection (no_user_data)
221/659 Test: sync_chain::fixed_size_chain_with_rejection (no_user_data)
Command: "/usr/ports/www/restinio/work/.build/bin/_unit.test.handle_requests.sync_chained_handlers" "sync_chain::fixed_size_chain_with_rejection (no_user_data)"
Directory: /usr/ports/www/restinio/work/.build/test/handle_requests/sync_chained_handlers
"sync_chain::fixed_size_chain_with_rejection (no_user_data)" start time: Aug 24 22:09 PDT
Output:
----------------------------------------------------------
^[[1;33mFilters: "sync_chain::fixed_size_chain_with_rejection (no_user_data)"
^[[0mRandomness seeded to: 632557483
[2024-08-24 22:09:33.270] TRACE: starting server on 127.0.0.1:23987
[2024-08-24 22:09:33.270] ERROR: failed to start server on 126.0.0.1:23987: bind: Address already in use
245/659 Testing: async_chain::so_5::fixed_size_chain (no_user_data)
245/659 Test: async_chain::so_5::fixed_size_chain (no_user_data)
Command: "/usr/ports/www/restinio/work/.build/bin/_unit.test.handle_requests.async_chained_handlers_2" "async_chain::so_5::fixed_size_chain (no_user_data)"
Directory: /usr/ports/www/restinio/work/.build/test/handle_requests/async_chained_handlers_2
"async_chain::so_5::fixed_size_chain (no_user_data)" start time: Aug 24 22:09 PDT
Output:
----------------------------------------------------------
^[[1;33mFilters: "async_chain::so_5::fixed_size_chain (no_user_data)"
^[[0mRandomness seeded to: 866360695
[2024-08-24 22:09:33.359] TRACE: starting server on 127.0.0.1:23987
[2024-08-24 22:09:33.359] ERROR: failed to start server on 127.0.0.1:23987: bind: Address already in use

Version: 0.7.2
FreeBSD 14.1

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

No branches or pull requests

1 participant