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

socket::test::connect_timeout_unrouteable requires network interfaces #52

Closed
ignatenkobrain opened this issue Feb 19, 2020 · 1 comment

Comments

@ignatenkobrain
Copy link

Hello,

As part of packaging crates as RPMs we run tests. And recently I found out that if there are no network adapters, one of the tests is failing:

[  129s] failures:
[  129s] 
[  129s] ---- socket::test::connect_timeout_unrouteable stdout ----
[  129s] thread 'socket::test::connect_timeout_unrouteable' panicked at 'unexpected error Network is unreachable (os error 101)', src/socket.rs:902:23
[  129s] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[  129s] 
[  129s] 
[  129s] failures:
[  129s]     socket::test::connect_timeout_unrouteable

Would appreciate if you could look on this issue.

@alexcrichton
Copy link
Member

Thanks for the report, but this is a crate for sockets so some tests will require the network.

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

2 participants