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
9b0a4bfd
Commit
9b0a4bfd
authored
Apr 06, 2016
by
Zach Loafman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DNS test for larger clusters
On GKE, we scale the number of DNS pods based on the cluster size. For testing on larger clusters, relax the DNS pod check.
parent
d800dca7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dns.go
test/e2e/dns.go
+2
-2
No files found.
test/e2e/dns.go
View file @
9b0a4bfd
...
@@ -226,8 +226,8 @@ func verifyDNSPodIsRunning(f *framework.Framework) {
...
@@ -226,8 +226,8 @@ func verifyDNSPodIsRunning(f *framework.Framework) {
if
err
!=
nil
{
if
err
!=
nil
{
framework
.
Failf
(
"Failed to list all dns service pods"
)
framework
.
Failf
(
"Failed to list all dns service pods"
)
}
}
if
len
(
dnsPods
.
Items
)
!=
1
{
if
len
(
dnsPods
.
Items
)
<
1
{
framework
.
Failf
(
"
Unexpected number of pods (%d) matches the label selector %v"
,
len
(
dnsPods
.
Items
)
,
dnsServiceLabelSelector
.
String
())
framework
.
Failf
(
"
No pods match the label selector %v"
,
dnsServiceLabelSelector
.
String
())
}
}
framework
.
ExpectNoError
(
framework
.
WaitForPodRunningInNamespace
(
f
.
Client
,
dnsPods
.
Items
[
0
]
.
Name
,
api
.
NamespaceSystem
))
framework
.
ExpectNoError
(
framework
.
WaitForPodRunningInNamespace
(
f
.
Client
,
dnsPods
.
Items
[
0
]
.
Name
,
api
.
NamespaceSystem
))
}
}
...
...
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