mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #62494 from grayluck/fixe2e
Automatic merge from submit-queue (batch tested with PRs 62466, 62494). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix failed e2e tests for dns configmap **What this PR does / why we need it**: Fix DNS configMap e2e tests. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #62490 **Release note**: ```release-note NONE ```
This commit is contained in:
@@ -35,8 +35,9 @@ type dnsFederationsConfigMapTest struct {
|
|||||||
|
|
||||||
var _ = SIGDescribe("DNS configMap federations", func() {
|
var _ = SIGDescribe("DNS configMap federations", func() {
|
||||||
|
|
||||||
|
t := &dnsNameserverTest{dnsTestCommon: newDnsTestCommon()}
|
||||||
|
|
||||||
It("should be able to change federation configuration [Slow][Serial]", func() {
|
It("should be able to change federation configuration [Slow][Serial]", func() {
|
||||||
t := &dnsNameserverTest{dnsTestCommon: newDnsTestCommon()}
|
|
||||||
t.c = t.f.ClientSet
|
t.c = t.f.ClientSet
|
||||||
t.run()
|
t.run()
|
||||||
})
|
})
|
||||||
@@ -220,15 +221,21 @@ func (t *dnsPtrFwdTest) run() {
|
|||||||
|
|
||||||
var _ = SIGDescribe("DNS configMap nameserver", func() {
|
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 := &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 := &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()
|
||||||
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user