From a3d6606c59eeb81b508d03b4d9b7aba388bf7fab Mon Sep 17 00:00:00 2001 From: Raoul Strackx Date: Mon, 6 Nov 2023 11:43:17 +0100 Subject: [PATCH] Disable `drop_write` test --- tokio/tests/tcp_into_split.rs | 1 + 1 file changed, 1 insertion(+) 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";