From 2446686e12d1c17b89f792c53bba7d7ff853f719 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Apr 2015 09:38:25 +0100 Subject: 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. --- t/test-custodian-util-dns.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') 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') # -- cgit v1.2.1