diff --git a/tests/monotouch-test/Security/SecureTransportTest.cs b/tests/monotouch-test/Security/SecureTransportTest.cs index 65d212b19d..d2978ec960 100644 --- a/tests/monotouch-test/Security/SecureTransportTest.cs +++ b/tests/monotouch-test/Security/SecureTransportTest.cs @@ -226,7 +226,8 @@ namespace MonoTouchFixtures.Security { string s = Encoding.UTF8.GetString (data, 0, (int) processed); // The result apparently depends on where you are: I get a 302, the bots get a 200. - Assert.That (s, Does.StartWith ("HTTP/1.0 302 Found").Or.StartWith ("HTTP/1.0 200 OK"), "response"); + // Also sometimes it fails with 502 Bad Gateway on the bots + Assert.That (s, Does.StartWith ("HTTP/1.0 302 Found").Or.StartWith ("HTTP/1.0 200 OK").Or.StartWith ("HTTP/1.0 502 Bad Gateway"), "response"); } } #endif // !__WATCHOS__