summaryrefslogtreecommitdiff
path: root/t/test-custodian-util-ping.rb
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
commit482a27a7cbf34054999c35c47d3189fad50db9d6 (patch)
tree523598cc78192681e4cc653781ab54e7d02208b1 /t/test-custodian-util-ping.rb
parent7e497d44c612a542bd668e878b261a2f01b008a6 (diff)
Updated test to cope with DNS changes
These days google.com resolves over both IPv4 and IPv6.
Diffstat (limited to 't/test-custodian-util-ping.rb')
-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