diff options
author | Mattias Päivärinta <mattias.paivarinta@iis.se> | 2017-09-27 16:20:33 +0200 |
---|---|---|
committer | Mattias Päivärinta <mattias.paivarinta@iis.se> | 2017-09-27 16:27:55 +0200 |
commit | 9463312eb829e3d8e9970fef0c9230105c96e48e (patch) | |
tree | 018306ee46791b95589c90601177507bb15923f0 /t | |
parent | f04f03261e8ffd1d08bd91daf8b3349fb92bdc4e (diff) |
Loosen test suite's assumptions about the Internet
Sometimes we get really quick replies (less than 1 ms)
Diffstat (limited to 't')
-rw-r--r-- | t/netldns.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/netldns.t b/t/netldns.t index 18930b6..7cd5b8f 100644 --- a/t/netldns.t +++ b/t/netldns.t @@ -35,7 +35,7 @@ SKIP: { ok( !$p2->ad(), 'AD bit not set' ); ok( !$p2->do(), 'DO bit not set' ); - ok( $p2->querytime > 0 ); + cmp_ok( $p2->querytime, '>=', 0); is( $p2->answerfrom, '8.8.8.8', 'expected answerfrom' ); $p2->answerfrom( '1.2.3.4' ); is( $p2->answerfrom, '1.2.3.4', 'setting answerfrom works' ); |