Skip to content

Spurious test failure: net::tcp::tests::connect_timeout_unroutable  #44645

Description

@tmerr

What I tried: ./x.py test src/libstd on a laptop disconnected from wifi, running linux
What I expected: tests pass
What I got: tests pass except net::tcp::tets::connect_timeout_unroutable.

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `Other`,
 right: `TimedOut`', src/libstd/net/tcp.rs:test 1576:8

Underlying error: Error { repr: Os { code: 101, message: "Network is unreachable" } }.

Should the test suite be assuming we are on some network?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions