Skip to content

Commit

Permalink
Improve test so it doesn't fail on some systems
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyCushnie committed Sep 27, 2024
1 parent b28e9ea commit a115c28
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ public class SaveLoad_IPAddressTests
[TestMethod]
public void SaveLoad_IP()
{
string hostName = Dns.GetHostName();
IPAddress ip = Dns.GetHostAddresses(hostName)[0];
IPAddress ip = IPAddress.Parse("8.8.8.8");
TestUtilities.PerformSaveLoadTest(ip);
}
}
Expand Down

0 comments on commit a115c28

Please sign in to comment.