From 482a27a7cbf34054999c35c47d3189fad50db9d6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 8 Jan 2015 13:56:09 +0000 Subject: Updated test to cope with DNS changes These days google.com resolves over both IPv4 and IPv6. --- t/test-custodian-util-ping.rb | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1