Skip to content

Commit

Permalink
ignore tcp_shutdown_client_both_close_event failure on illumos
Browse files Browse the repository at this point in the history
At present, is_write_closed() does not appear to be true on the event
that fires after shutdown() is called.  There is already a similar gag
for the tcp_shutdown_client_write_close_event test, so add one here for
now.  When support for the native illumos "event ports" polling
mechanism is added, to replace the use of epoll emulation, this can be
revisted.
  • Loading branch information
jclulow authored and Thomasdezeeuw committed Dec 8, 2020
1 parent 943d424 commit fa47aa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/tcp_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,10 @@ fn tcp_reset_close_event() {
windows,
ignore = "fails on Windows; client close events are not found"
)]
#[cfg_attr(
any(target_os = "illumos"),
ignore = "fails; client write_closed events are not found"
)]
fn tcp_shutdown_client_both_close_event() {
let (mut poll, mut events) = init_with_poll();
let barrier = Arc::new(Barrier::new(2));
Expand Down

0 comments on commit fa47aa3

Please sign in to comment.