Skip to content

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

Closed

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

  1. added a commit that references this issue on Sep 17, 2017
    fcdd46e
  2. added 3 commits that reference this issue on Sep 17, 2017
    7e08a23
    f189423
    7aefb6c
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