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

Port gaea tests #1070

Merged
merged 16 commits into from
Sep 12, 2019
Merged

Port gaea tests #1070

merged 16 commits into from
Sep 12, 2019

Commits on Aug 29, 2019

  1. Add tests for the registration process

    Check that the event::Source implementation is correctly called.
    Thomasdezeeuw committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    bd67037 View commit details
    Browse the repository at this point in the history
  2. Port tests for UdpSocket from Gaea

    There is some overlap in what is tested now however.
    Thomasdezeeuw committed Aug 29, 2019
    Configuration menu
    Copy the full SHA
    2a91ee0 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Check that UdpSocket is non-blocking in smoke test

    When no data is available to read/peek the socket should return a
    WouldBlock error.
    Thomasdezeeuw committed Aug 30, 2019
    Configuration menu
    Copy the full SHA
    7a24525 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49da938 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2019

  1. Configuration menu
    Copy the full SHA
    add2625 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b81bbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7e531e View commit details
    Browse the repository at this point in the history
  4. Disable TcpListener deregister test on Windows

    Doesn't work, see issue tokio-rs#1070.
    Thomasdezeeuw committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    d88f51a View commit details
    Browse the repository at this point in the history
  5. Make TcpListener::try_clone tests more robust

    Before it could be that only one of the connections would be ready to be
    accepted, result in would-block errors.
    Thomasdezeeuw committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    b20377a View commit details
    Browse the repository at this point in the history
  6. Loosen TcpStream shutdown reading side test

    What happens is different on each OS, for example on Linux we can still
    read but on macOS and FreeBSD we can't.
    Thomasdezeeuw committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    ac477b4 View commit details
    Browse the repository at this point in the history
  7. Ignore connection reset error in TcpStream test

    In a attempt to fix the TcpStream shutdown_read test.
    Thomasdezeeuw committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    9a49628 View commit details
    Browse the repository at this point in the history
  8. Disable TcpListener::try_clone tests on Windows

    They both fails, be it's unknown to me why. It needs further
    investigation for which I've opened tokio-rs#1074.
    Thomasdezeeuw committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    e99caf3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2019

  1. Fix TcpStream's shutdown_both tests

    On Windows the error is ConnectionAborted rather then BrokenPipe.
    Thomasdezeeuw committed Sep 4, 2019
    Configuration menu
    Copy the full SHA
    d479097 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2019

  1. Ignore TcpStream smoke tests on Windows

    Issue tokio-rs#1078 is opened to investigate why they fail on Windows only.
    Thomasdezeeuw committed Sep 7, 2019
    Configuration menu
    Copy the full SHA
    8c7af5f View commit details
    Browse the repository at this point in the history
  2. Ignore TcpStream nodelay test on Windows

    Issue tokio-rs#1079 is opened to investigate why it fails on Windows only.
    Thomasdezeeuw committed Sep 7, 2019
    Configuration menu
    Copy the full SHA
    4f2913d View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2019

  1. Ignore some UdpSocket tests on Windows

    Issues tokio-rs#1080 is opened to investigate why.
    Thomasdezeeuw committed Sep 8, 2019
    Configuration menu
    Copy the full SHA
    112a425 View commit details
    Browse the repository at this point in the history