summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMattias Päivärinta <mattias.paivarinta@iis.se>2017-05-29 10:48:03 +0200
committerMattias Päivärinta <mattias-p@users.noreply.github.com>2017-05-29 14:11:43 +0200
commite3ce0fa7c9c85135456dc6113f87114ca24f1600 (patch)
tree2bd9dafadaad448f7a25efff974652750b4746c7 /t
parent826ac7987e93fe7c3c1ba96e12fcd83a44913efc (diff)
Make correct assumptions about the state of the internet
* The old hardcoded name server for cyberpomo.com is no longer responding. * The .se zone has added another name server. The real fix is to not depend on the state of the internet. I'm deferring the real fix for another issue.
Diffstat (limited to 't')
-rw-r--r--t/axfr.t2
-rw-r--r--t/netldns.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/t/axfr.t b/t/axfr.t
index 5fc28ed..3874655 100644
--- a/t/axfr.t
+++ b/t/axfr.t
@@ -6,7 +6,7 @@ BEGIN { use_ok( 'Net::LDNS' ) }
SKIP: {
skip 'no network', 3 if $ENV{TEST_NO_NETWORK};
- my $res = Net::LDNS->new( '46.21.100.115' );
+ my $res = Net::LDNS->new( '46.21.106.227' );
my $res2 = Net::LDNS->new( '192.36.144.107' );
my $counter = 0;
diff --git a/t/netldns.t b/t/netldns.t
index b36e531..7e77a6d 100644
--- a/t/netldns.t
+++ b/t/netldns.t
@@ -78,7 +78,7 @@ SKIP: {
is( scalar( $se->question ), 1, 'one question' );
is( scalar( $se->answer ), 0, 'zero answers' );
- is( scalar( $se->authority ), 9, 'nine authority' );
+ is( scalar( $se->authority ), 10, 'nine authority' );
my $add = scalar( $se->additional );
ok( $add == 16 || $add == 15, 'sixteen additional' );