diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-16 09:38:25 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-16 09:38:25 +0100 |
commit | 2446686e12d1c17b89f792c53bba7d7ff853f719 (patch) | |
tree | 8f3c2812e4a5cdeb36c56bcae6b2f1cd69c5a0c0 /t | |
parent | 0340f5f8035dbb65fd1bee4a14636280944ca9ca (diff) |
Updated test to pass with new IPs.
Hard-coding IPs is a bad choice, but the alternative here is to
exec( `dig -t a`) or similar which seems equally bad.
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-util-dns.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-custodian-util-dns.rb b/t/test-custodian-util-dns.rb index 399639b..c86f937 100755 --- a/t/test-custodian-util-dns.rb +++ b/t/test-custodian-util-dns.rb @@ -40,10 +40,10 @@ class TestDNSUtil < Test::Unit::TestCase details = Custodian::Util::DNS.hostname_to_ip('ipv4.steve.org.uk') - assert(details == '80.68.84.103') + assert(details == '80.68.84.111') details = Custodian::Util::DNS.hostname_to_ip('ipv6.steve.org.uk') - assert(details == '2001:41c8:10b:103::10') + assert(details == '2001:41c8:10b:103::111') # |