Ignore connect_timeout unit test on SGX platform

Co-authored-by: Chris Denton <christophersdenton@gmail.com>
This commit is contained in:
Eval EXEC 2023-06-20 18:43:12 +08:00 committed by GitHub
parent f65b5d0ddf
commit 30e1c1a53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ fn connect_timeout_to_unreachable_address() {
} }
#[test] #[test]
#[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
fn connect_timeout_error() { fn connect_timeout_error() {
let socket_addr = next_test_ip4(); let socket_addr = next_test_ip4();
let result = TcpStream::connect_timeout(&socket_addr, Duration::MAX); let result = TcpStream::connect_timeout(&socket_addr, Duration::MAX);