aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/handler_pod_verified_test.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2019-01-10 02:34:22 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2019-01-10 07:34:22 +0000
commit875c11a0cbf4f75434bb10d9222a49e7b481e7a2 (patch)
treee229cfe2ecf9b39e7345173d0d05fee36211017f /plugin/kubernetes/handler_pod_verified_test.go
parent0efa99e9543fd28d3196c38b1fdd094e83cc23b8 (diff)
downloadcoredns-875c11a0cbf4f75434bb10d9222a49e7b481e7a2.tar.gz
coredns-875c11a0cbf4f75434bb10d9222a49e7b481e7a2.tar.zst
coredns-875c11a0cbf4f75434bb10d9222a49e7b481e7a2.zip
set minttl to ttl setting (#2446)
Diffstat (limited to 'plugin/kubernetes/handler_pod_verified_test.go')
-rw-r--r--plugin/kubernetes/handler_pod_verified_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/kubernetes/handler_pod_verified_test.go b/plugin/kubernetes/handler_pod_verified_test.go
index 4eca9d0b3..fb0d4a235 100644
--- a/plugin/kubernetes/handler_pod_verified_test.go
+++ b/plugin/kubernetes/handler_pod_verified_test.go
@@ -22,28 +22,28 @@ var podModeVerifiedCases = []test.Case{
Qname: "podns.pod.cluster.local.", Qtype: dns.TypeA,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 30 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 5 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
},
},
{
Qname: "svcns.svc.cluster.local.", Qtype: dns.TypeA,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 30 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 5 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
},
},
{
Qname: "pod-nons.pod.cluster.local.", Qtype: dns.TypeA,
Rcode: dns.RcodeNameError,
Ns: []dns.RR{
- test.SOA("cluster.local. 30 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 5 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
},
},
{
Qname: "172-0-0-2.podns.pod.cluster.local.", Qtype: dns.TypeA,
Rcode: dns.RcodeNameError,
Ns: []dns.RR{
- test.SOA("cluster.local. 30 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 5 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
},
},
}