You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -215,6 +215,7 @@ namespace MonoTests.System.Net {
|
||||
#else
|
||||
[ExpectedException (typeof (HttpListenerException))]
|
||||
#endif
|
||||
[Category ("NotWorkingRuntimeInterpreter")]
|
||||
public void TwoListeners_SameURL ()
|
||||
{
|
||||
if (!CanOpenPort (port))
|
||||
@@ -233,6 +234,7 @@ namespace MonoTests.System.Net {
|
||||
#else
|
||||
[ExpectedException (typeof (HttpListenerException))]
|
||||
#endif
|
||||
[Category ("NotWorkingRuntimeInterpreter")]
|
||||
public void MultipleSlashes ()
|
||||
{
|
||||
if (!CanOpenPort (port))
|
||||
@@ -249,6 +251,7 @@ namespace MonoTests.System.Net {
|
||||
#else
|
||||
[ExpectedException (typeof (HttpListenerException))]
|
||||
#endif
|
||||
[Category ("NotWorkingRuntimeInterpreter")]
|
||||
public void PercentSign ()
|
||||
{
|
||||
if (!CanOpenPort (port))
|
||||
|
@@ -1 +1 @@
|
||||
a0154e7ba83fa85a9caed000fd90aa90d75ae63b
|
||||
0fd53cdea741d804cf43f8d862815523224ef66f
|
@@ -186,33 +186,6 @@ public class ServicePointTest
|
||||
Assert.IsTrue (called, "#A2");
|
||||
}
|
||||
|
||||
public static void GetRequestStreamCallback (IAsyncResult asynchronousResult)
|
||||
{
|
||||
}
|
||||
|
||||
[Test] //Covers #19823
|
||||
#if FEATURE_NO_BSD_SOCKETS
|
||||
// This test uses HttpWebRequest
|
||||
[ExpectedException (typeof (PlatformNotSupportedException))]
|
||||
#endif
|
||||
public void CloseConnectionGroupConcurency ()
|
||||
{
|
||||
// Try with multiple service points
|
||||
for (var i = 0; i < 10; i++) {
|
||||
Uri targetUri = new Uri ("http://" + i + ".mono-project.com");
|
||||
var req = (HttpWebRequest) HttpWebRequest.Create (targetUri);
|
||||
req.ContentType = "application/x-www-form-urlencoded";
|
||||
req.Method = "POST";
|
||||
req.ConnectionGroupName = "" + i;
|
||||
req.ServicePoint.MaxIdleTime = 1;
|
||||
|
||||
req.BeginGetRequestStream (new AsyncCallback (GetRequestStreamCallback), req);
|
||||
Thread.Sleep (1);
|
||||
req.ServicePoint.CloseConnectionGroup (req.ConnectionGroupName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[Test]
|
||||
[Category ("RequiresBSDSockets")] // Tests internals, so it doesn't make sense to assert that PlatformNotSupportedExceptions are thrown.
|
||||
public void DnsRefreshTimeout ()
|
||||
|
Reference in New Issue
Block a user