summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-01-08 13:56:09 +0000
committerSteve Kemp <steve@steve.org.uk>2015-01-08 13:56:09 +0000
commit1bc56205506acc6ca488e19dd40ef6e2c0be4ec8 (patch)
tree4aba735e057b0ec8c8d53e1af19380a868828bed /t
parent8d4215a0c8605b2a858c1d3af4309c93b27cd3b4 (diff)
Updated test to cope with DNS changes
These days google.com resolves over both IPv4 and IPv6.
Diffstat (limited to 't')
-rwxr-xr-xt/test-custodian-util-ping.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/t/test-custodian-util-ping.rb b/t/test-custodian-util-ping.rb
index cec3ba9..baf957f 100755
--- a/t/test-custodian-util-ping.rb
+++ b/t/test-custodian-util-ping.rb
@@ -68,10 +68,6 @@ class TestPingUtil < Test::Unit::TestCase
assert( helper.is_ipv4? )
assert( ! helper.is_ipv6? )
- helper = Custodian::Util::Ping.new( "www.google.com" );
- assert( helper.is_ipv4? )
- assert( ! helper.is_ipv6? )
-
end
@@ -80,7 +76,7 @@ class TestPingUtil < Test::Unit::TestCase
#
def test_lookup_ipv6
- helper = Custodian::Util::Ping.new( "ipv6.google.com" );
+ helper = Custodian::Util::Ping.new( "ipv6.steve.org.uk" );
assert( helper.is_ipv6? )
assert( ! helper.is_ipv4? )
end