diff --git a/tokio/tests/tcp_into_split.rs b/tokio/tests/tcp_into_split.rs index 52c0a4f240c..9fb347aae60 100644 --- a/tokio/tests/tcp_into_split.rs +++ b/tokio/tests/tcp_into_split.rs @@ -82,6 +82,7 @@ async fn reunite() -> Result<()> { } /// Test that dropping the write half actually closes the stream. +#[cfg(not(target_env = "sgx"))] // shutdown is ineffective in SGX #[tokio::test] async fn drop_write() -> Result<()> { const MSG: &[u8] = b"split";