Skip to content

Commit

Permalink
Rollup merge of rust-lang#94768 - fortanix:raoul/fix_close_read_wakes…
Browse files Browse the repository at this point in the history
…_up_test_sgx_platform, r=dtolnay

Ignore `close_read_wakes_up` test on SGX platform

PR rust-lang#94714 enabled the `close_read_wakes_up` test for all platforms. This is incorrect. This test should be ignored at least for the SGX platform.

cc: `@mzohreva` `@jethrogb`
  • Loading branch information
Dylan-DPC authored Mar 9, 2022
2 parents 1ccd44f + 491350c commit f7b1fcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/net/tcp/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ fn close_readwrite_smoke() {
}

#[test]
#[cfg_attr(target_env = "sgx", ignore)]
fn close_read_wakes_up() {
each_ip(&mut |addr| {
let a = t!(TcpListener::bind(&addr));
Expand Down

0 comments on commit f7b1fcf

Please sign in to comment.