Imported Upstream version 5.12.0.220

Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-04-24 09:31:23 +00:00
parent 8bd104cef2
commit 8fc30896db
1200 changed files with 29534 additions and 26161 deletions

View File

@@ -98,6 +98,7 @@ namespace MonoTests.System.Net.Sockets
[Test]
[Category("Test")]
[Category("MultiThreaded")]
#if FEATURE_NO_BSD_SOCKETS
[ExpectedException (typeof (PlatformNotSupportedException))]
#endif

View File

@@ -1 +1 @@
d1bb2ffee7ac63a76151854a3bc57ec5d6a2a70a
1e25aea1bb2838df06140728a614e421211c3ab8

View File

@@ -49,7 +49,10 @@ namespace MonoTests.System.Net.Sockets
}
}
// make sure the connection arrives
// There is no guarantee that the connecting socket will be in the listener's
// accept queue yet (though it is highly likely on Linux). We wait up to one
// second for the connecting socket to enter the listener's accept queue.
Assert.IsTrue (inListener.Server.Poll (1000, SelectMode.SelectRead));
Assert.IsTrue (inListener.Pending ());
Socket inSock = inListener.AcceptSocket ();