Просмотр исходного кода

[tests] Xamarin.Android works the same way as the desktop Mono

Marek Habersack 10 лет назад
Родитель
Сommit
4bc5192886
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      mcs/class/System/Test/System.Net/ServicePointManagerTest.cs

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

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