Skip to content

Commit

Permalink
check uds_stream it is no longer readable
Browse files Browse the repository at this point in the history
  • Loading branch information
cssivision committed Dec 31, 2020
1 parent 2e80d5b commit bd71dbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tokio/tests/uds_stream.rs
Expand Up @@ -317,6 +317,9 @@ async fn try_read_buf() -> std::io::Result<()> {
}

assert_eq!(read, written);

let mut readable = task::spawn(server.readable());
assert_pending!(readable.poll());
}

// Now, we listen for shutdown
Expand Down

0 comments on commit bd71dbe

Please sign in to comment.