summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 09:38:25 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 09:38:25 +0100
commitf7bc3ebb027dfe18cbb97f698db9c7d7eceb07f1 (patch)
tree72b007b6c7da574718eb66732a7a7321c0a0da51 /t
parent32401d592956845096e85f0d2c95b28e44d7d054 (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-xt/test-custodian-util-dns.rb4
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')
#