aboutsummaryrefslogtreecommitdiff
path: root/plugin/kubernetes/kubernetes_apex_test.go
diff options
context:
space:
mode:
authorGravatar Chris O'Haver <cohaver@infoblox.com> 2019-01-10 10:49:53 -0500
committerGravatar Miek Gieben <miek@miek.nl> 2019-01-10 15:49:53 +0000
commit22cacc7cb1a4e5d3cb35416f0fee9ada62738933 (patch)
tree8cfd99162df5ede7cba7727825ef757473fc7b2a /plugin/kubernetes/kubernetes_apex_test.go
parent875c11a0cbf4f75434bb10d9222a49e7b481e7a2 (diff)
downloadcoredns-22cacc7cb1a4e5d3cb35416f0fee9ada62738933.tar.gz
coredns-22cacc7cb1a4e5d3cb35416f0fee9ada62738933.tar.zst
coredns-22cacc7cb1a4e5d3cb35416f0fee9ada62738933.zip
fix soa min ttl in tests cases (#2451)
Diffstat (limited to 'plugin/kubernetes/kubernetes_apex_test.go')
-rw-r--r--plugin/kubernetes/kubernetes_apex_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin/kubernetes/kubernetes_apex_test.go b/plugin/kubernetes/kubernetes_apex_test.go
index da408472f..3f580223e 100644
--- a/plugin/kubernetes/kubernetes_apex_test.go
+++ b/plugin/kubernetes/kubernetes_apex_test.go
@@ -15,14 +15,14 @@ var kubeApexCases = []test.Case{
Qname: "cluster.local.", Qtype: dns.TypeSOA,
Rcode: dns.RcodeSuccess,
Answer: []dns.RR{
- test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 5"),
},
},
{
Qname: "cluster.local.", Qtype: dns.TypeHINFO,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 5"),
},
},
{
@@ -39,21 +39,21 @@ var kubeApexCases = []test.Case{
Qname: "cluster.local.", Qtype: dns.TypeA,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 5"),
},
},
{
Qname: "cluster.local.", Qtype: dns.TypeAAAA,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 5"),
},
},
{
Qname: "cluster.local.", Qtype: dns.TypeSRV,
Rcode: dns.RcodeSuccess,
Ns: []dns.RR{
- test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 60"),
+ test.SOA("cluster.local. 303 IN SOA ns.dns.cluster.local. hostmaster.cluster.local. 1499347823 7200 1800 86400 5"),
},
},
}