Skip to content

Commit

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

Ignore `close_read_wakes_up` test on SGX platform

PR #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
matthiaskrgr authored Mar 9, 2022
2 parents 9e90f8d + 491350c commit 06944d9
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 06944d9

Please sign in to comment.