diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-01-08 13:56:09 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-01-08 13:56:09 +0000 |
commit | 482a27a7cbf34054999c35c47d3189fad50db9d6 (patch) | |
tree | 523598cc78192681e4cc653781ab54e7d02208b1 /t | |
parent | 7e497d44c612a542bd668e878b261a2f01b008a6 (diff) |
Updated test to cope with DNS changes
These days google.com resolves over both IPv4 and IPv6.
Diffstat (limited to 't')
-rwxr-xr-x | t/test-custodian-util-ping.rb | 6 |
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 |