[Tests] Ignore some tests on the CI due to the settings of the bots. (#6671)

In some cases some bots will return a proxy present, not because of the
PAC being parsed, but due to the bot settings. Ignore the tests that
expect no proxies in the CI fixes the issue.

Fixes https://github.com/xamarin/maccore/issues/1901
This commit is contained in:
Manuel de la Pena 2019-07-29 13:55:30 +02:00 коммит произвёл GitHub
Родитель e8eec97d20
Коммит 626799bdae
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -125,6 +125,8 @@ namespace MonoTouchFixtures.CoreFoundation {
[Test]
public void TestPACParsingAsyncNoProxy ()
{
TestRuntime.IgnoreInCI ("CI bots might have proxies setup and will mean that the test will fail when trying to assert they are empty.");
CFProxy [] proxies = null;
NSError error = null;
NSObject cbClient = null;
@ -223,6 +225,7 @@ namespace MonoTouchFixtures.CoreFoundation {
[Test]
public void TestPACParsingUrlAsyncNoProxy ()
{
TestRuntime.IgnoreInCI ("CI bots might have proxies setup and will mean that the test will fail when trying to assert they are empty.");
CFProxy [] proxies = null;
NSError error = null;
NSObject cbClient = null;