From 30e1c1a53c8354d53551f4640a41938a157b4fd0 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Tue, 20 Jun 2023 18:43:12 +0800 Subject: [PATCH] Ignore `connect_timeout` unit test on SGX platform Co-authored-by: Chris Denton --- library/std/src/net/tcp/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/net/tcp/tests.rs b/library/std/src/net/tcp/tests.rs index 4209d4b6342..12979db25d3 100644 --- a/library/std/src/net/tcp/tests.rs +++ b/library/std/src/net/tcp/tests.rs @@ -58,6 +58,7 @@ fn connect_timeout_to_unreachable_address() { } #[test] +#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31 fn connect_timeout_error() { let socket_addr = next_test_ip4(); let result = TcpStream::connect_timeout(&socket_addr, Duration::MAX);