implemented DnsRefreshTimeout to ServicePointManager and adjusted behavior of Service...
[mono.git] / mcs / class / System / Test / System.Net / ServicePointManagerTest.cs
index 23b8d2b67c10f4dce49a0a80a4a368231a456584..6f763923cbfd927440b42f597b707778c5809f0a 100644 (file)
@@ -44,9 +44,6 @@ public class ServicePointManagerTest
 \r
         [Test, ExpectedException (typeof (InvalidOperationException))]\r
                [Category ("InetAccess")]\r
-#if TARGET_JVM\r
-       [Ignore ("Unsupported property - ServicePointManager.MaxServicePoints")]\r
-#endif\r
         public void MaxServicePointManagers ()\r
         {\r
                Assert.AreEqual (0, ServicePointManager.MaxServicePoints, "#1");\r
@@ -90,7 +87,7 @@ public class ServicePointManagerTest
                ServicePointManager.MaxServicePoints = 0;\r
                ServicePoint sp = ServicePointManager.FindServicePoint (googleUri, new WebProxy (apacheUri));\r
                Assert.AreEqual (apacheUri, sp.Address, "#1");\r
-#if NET_2_1\r
+#if NET_2_1 && !MONODROID\r
                Assert.AreEqual (10, sp.ConnectionLimit, "#2");\r
 #else\r
                Assert.AreEqual (2, sp.ConnectionLimit, "#2");\r