Browse Source

[System] Fix expected default value in test for ServicePointManager.ConnectionLimit on XA

The default was aligned with XI on https://github.com/mono/mono/commit/d06354174070d01394f5e75ffcfc9c1110a1e7db
Alexander Köplinger 9 years ago
parent
commit
dcf4ddd097
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mcs/class/System/Test/System.Net/ServicePointManagerTest.cs

+ 1 - 1
mcs/class/System/Test/System.Net/ServicePointManagerTest.cs

@@ -94,7 +94,7 @@ public class ServicePointManagerTest
 		ServicePointManager.MaxServicePoints = 0;
 		ServicePointManager.MaxServicePoints = 0;
 		ServicePoint sp = ServicePointManager.FindServicePoint (googleUri, new WebProxy (apacheUri));
 		ServicePoint sp = ServicePointManager.FindServicePoint (googleUri, new WebProxy (apacheUri));
 		Assert.AreEqual (apacheUri, sp.Address, "#1");
 		Assert.AreEqual (apacheUri, sp.Address, "#1");
-#if MOBILE && !MONODROID
+#if MOBILE
 		Assert.AreEqual (10, sp.ConnectionLimit, "#2");
 		Assert.AreEqual (10, sp.ConnectionLimit, "#2");
 #else
 #else
 		Assert.AreEqual (2, sp.ConnectionLimit, "#2");
 		Assert.AreEqual (2, sp.ConnectionLimit, "#2");