Commit 84a635e2 authored by yankaiz's avatar yankaiz

Fix failed e2e tests for dns configmap.

parent 2f394a41
......@@ -35,8 +35,9 @@ type dnsFederationsConfigMapTest struct {
var _ = SIGDescribe("DNS configMap federations", func() {
t := &dnsNameserverTest{dnsTestCommon: newDnsTestCommon()}
It("should be able to change federation configuration [Slow][Serial]", func() {
t := &dnsNameserverTest{dnsTestCommon: newDnsTestCommon()}
t.c = t.f.ClientSet
t.run()
})
......@@ -220,15 +221,21 @@ func (t *dnsPtrFwdTest) run() {
var _ = SIGDescribe("DNS configMap nameserver", func() {
It("should be able to change stubDomain configuration [Slow][Serial]", func() {
Context("Change stubDomain", func() {
nsTest := &dnsNameserverTest{dnsTestCommon: newDnsTestCommon()}
nsTest.c = nsTest.f.ClientSet
nsTest.run()
It("should be able to change stubDomain configuration [Slow][Serial]", func() {
nsTest.c = nsTest.f.ClientSet
nsTest.run()
})
})
It("should forward PTR records lookup to upstream nameserver [Slow][Serial]", func() {
Context("Forward PTR lookup", func() {
fwdTest := &dnsPtrFwdTest{dnsTestCommon: newDnsTestCommon()}
fwdTest.c = fwdTest.f.ClientSet
fwdTest.run()
It("should forward PTR records lookup to upstream nameserver [Slow][Serial]", func() {
fwdTest.c = fwdTest.f.ClientSet
fwdTest.run()
})
})
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment