diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2014-08-14 03:21:20 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@xamarin.com> | 2014-08-15 04:24:29 +0400 |
commit | 69104ca6c7093cc482ad5b09b01c64601d46d742 (patch) | |
tree | c03363943189bf05c418a04db00e867c7f6f5bd5 | |
parent | 62a857ec773a066009e6967c69c0587ed43d80ba (diff) |
[System] Use xamarin.com instead of mono-project.com for DNS tests
The latter is now hosted on a different IP behind a CDN and the IP may change depending on location.
Using xamarin.com instead fixes the tests for now.
-rw-r--r-- | mcs/class/System/Test/System.Net/DnsTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mcs/class/System/Test/System.Net/DnsTest.cs b/mcs/class/System/Test/System.Net/DnsTest.cs index 44797640651..f240f8eae4f 100644 --- a/mcs/class/System/Test/System.Net/DnsTest.cs +++ b/mcs/class/System/Test/System.Net/DnsTest.cs @@ -28,8 +28,8 @@ namespace MonoTests.System.Net [TestFixture]
public class DnsTest
{
- private String site1Name = "mono-project.com",
- site1Dot = "96.126.105.110",
+ private String site1Name = "xamarin.com",
+ site1Dot = "50.19.126.231",
site2Name = "info.diku.dk",
site2Dot = "130.225.96.4",
noneExistingSite = "unlikely.xamarin.com";
@@ -44,7 +44,7 @@ namespace MonoTests.System.Net IAsyncResult async = Dns.BeginGetHostByName (site1Name, null, null);
IPHostEntry entry = Dns.EndGetHostByName (async);
SubTestValidIPHostEntry (entry);
- Assert.IsTrue (entry.HostName == "www.mono-project.com" || entry.HostName == "mono-project.com");
+ Assert.IsTrue (entry.HostName == "www.xamarin.com" || entry.HostName == "xamarin.com");
}
void GetHostByNameCallback (IAsyncResult ar)
@@ -191,7 +191,7 @@ namespace MonoTests.System.Net [Test]
public void GetHostByName ()
{
- SubTestGetHostByName ("www.mono-project.com", site1Dot);
+ SubTestGetHostByName ("www.xamarin.com", site1Dot);
SubTestGetHostByName (site2Name, site2Dot);
try {
var entry = Dns.GetHostByName (noneExistingSite);
|