@@ -514,6 +514,7 @@ fn no_events_after_deregister() {
514
514
windows,
515
515
ignore = "fails on Windows; client read closed events are not triggered"
516
516
) ]
517
+ #[ cfg_attr( target_os = "solaris" , ignore = "POLLRDHUP isn't supported on Solaris" ) ]
517
518
fn tcp_shutdown_client_read_close_event ( ) {
518
519
let ( mut poll, mut events) = init_with_poll ( ) ;
519
520
let barrier = Arc :: new ( Barrier :: new ( 2 ) ) ;
@@ -547,7 +548,12 @@ fn tcp_shutdown_client_read_close_event() {
547
548
#[ test]
548
549
#[ cfg_attr( windows, ignore = "fails; client write_closed events are not found" ) ]
549
550
#[ cfg_attr(
550
- any( target_os = "android" , target_os = "illumos" , target_os = "linux" ) ,
551
+ any(
552
+ target_os = "android" ,
553
+ target_os = "illumos" ,
554
+ target_os = "solaris" ,
555
+ target_os = "linux"
556
+ ) ,
551
557
ignore = "fails; client write_closed events are not found"
552
558
) ]
553
559
fn tcp_shutdown_client_write_close_event ( ) {
@@ -581,6 +587,7 @@ fn tcp_shutdown_client_write_close_event() {
581
587
}
582
588
583
589
#[ test]
590
+ #[ cfg_attr( target_os = "solaris" , ignore = "POLLRDHUP isn't supported on Solaris" ) ]
584
591
fn tcp_shutdown_server_write_close_event ( ) {
585
592
let ( mut poll, mut events) = init_with_poll ( ) ;
586
593
let barrier = Arc :: new ( Barrier :: new ( 2 ) ) ;
@@ -611,6 +618,7 @@ fn tcp_shutdown_server_write_close_event() {
611
618
}
612
619
613
620
#[ test]
621
+ #[ cfg_attr( target_os = "solaris" , ignore = "POLLRDHUP isn't supported on Solaris" ) ]
614
622
fn tcp_reset_close_event ( ) {
615
623
let ( mut poll, mut events) = init_with_poll ( ) ;
616
624
@@ -659,7 +667,7 @@ fn tcp_reset_close_event() {
659
667
ignore = "fails on Windows; client close events are not found"
660
668
) ]
661
669
#[ cfg_attr(
662
- any( target_os = "illumos" ) ,
670
+ any( target_os = "illumos" , target_os = "solaris" ) ,
663
671
ignore = "fails; client write_closed events are not found"
664
672
) ]
665
673
fn tcp_shutdown_client_both_close_event ( ) {
0 commit comments