[tests] Xamarin.Android works the same way as the desktop Mono
authorMarek Habersack <grendel@twistedcode.net>
Tue, 7 Jul 2015 09:12:37 +0000 (11:12 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:32 +0000 (20:45 +0200)
mcs/class/System/Test/System.Net/ServicePointManagerTest.cs

index f0c3272f721ef14a3340283fc4c102accd8cf1b3..6f763923cbfd927440b42f597b707778c5809f0a 100644 (file)
@@ -87,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