diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.Unix.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.Unix.cs index 0766028d698d35..6a15e23d25a814 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.Unix.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/Connect.Unix.cs @@ -220,11 +220,11 @@ public async Task ConnectAsync_WithBuffer_Succeeds() Assert.Equal(SocketError.Success, saea.SocketError); Assert.True(client.Blocking); - // On Apple platforms, TFO (connectx) may complete the connect+send in a single - // syscall, so the socket can end up blocking even on the async path. + // On Apple and Android platforms, TFO (connectx/sendto) may complete the connect+send + // in a single syscall, so the socket can end up blocking even on the async path. // On Linux, async connect always leaves the socket non-blocking when // buffer > 0 because SendToAsync is pending. - if (!completedAsync || PlatformDetection.IsApplePlatform) + if (!completedAsync || PlatformDetection.IsApplePlatform || PlatformDetection.IsAndroid) { Assert.False(IsSocketNonBlocking(client)); }