about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-09 23:14:15 +0100
committerGitHub <noreply@github.com>2022-03-09 23:14:15 +0100
commit06944d9e497a952a7a5031ebe1998d8a76c511e9 (patch)
tree646c91aa84fb56af0ae3a6a22717549054b6272b
parent9e90f8d39bd1b50f0d497793b463840b43e340b4 (diff)
parent491350ce75b25bdd36cdf995cd8ec370cbab3889 (diff)
Rollup merge of #94768 - fortanix:raoul/fix_close_read_wakes_up_test_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``
-rw-r--r--library/std/src/net/tcp/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/net/tcp/tests.rs b/library/std/src/net/tcp/tests.rs
index 959fe6943f6..4d5cf658def 100644
--- a/library/std/src/net/tcp/tests.rs
+++ b/library/std/src/net/tcp/tests.rs
@@ -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));