Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
84a635e2
Commit
84a635e2
authored
Apr 12, 2018
by
yankaiz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failed e2e tests for dns configmap.
parent
2f394a41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
dns_configmap.go
test/e2e/network/dns_configmap.go
+14
-7
No files found.
test/e2e/network/dns_configmap.go
View file @
84a635e2
...
...
@@ -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
()
})
})
})
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment