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
664d7972
Unverified
Commit
664d7972
authored
Oct 05, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #69466 from mooncak/fix_test_issues
Remove the duplicated words in test files
parents
bc135bd3
4894f558
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
kubelet.go
test/e2e_node/services/kubelet.go
+1
-1
nettest.go
test/images/nettest/nettest.go
+1
-1
auth_test.go
test/integration/auth/auth_test.go
+1
-1
util.go
test/integration/deployment/util.go
+1
-1
util.go
test/integration/statefulset/util.go
+1
-1
No files found.
test/e2e_node/services/kubelet.go
View file @
664d7972
...
...
@@ -159,7 +159,7 @@ func (e *E2EServices) startKubelet() (*server, error) {
kubeletConfigFlags
=
append
(
kubeletConfigFlags
,
"file-check-frequency"
)
// Assign a fixed CIDR to the node because there is no node controller.
// Note: this MUST be in sync with
with
the IP in
// Note: this MUST be in sync with the IP in
// - cluster/gce/config-test.sh and
// - test/e2e_node/conformance/run_test.sh.
kc
.
PodCIDR
=
"10.100.0.0/24"
...
...
test/images/nettest/nettest.go
View file @
664d7972
...
...
@@ -241,7 +241,7 @@ func contactOthers(state *State) {
if
err
!=
nil
{
log
.
Fatalf
(
"Unable to create client; error: %v
\n
"
,
err
)
}
// Double check that
that
worked by getting the server version.
// Double check that worked by getting the server version.
if
v
,
err
:=
client
.
Discovery
()
.
ServerVersion
();
err
!=
nil
{
log
.
Fatalf
(
"Unable to get server version: %v
\n
"
,
err
)
}
else
{
...
...
test/integration/auth/auth_test.go
View file @
664d7972
...
...
@@ -397,7 +397,7 @@ func getTestRequests(namespace string) []struct {
return
requests
}
// The TestAuthMode* tests
tests
a large number of URLs and checks that they
// The TestAuthMode* tests a large number of URLs and checks that they
// are FORBIDDEN or not, depending on the mode. They do not attempt to do
// detailed verification of behaviour beyond authorization. They are not
// fuzz tests.
...
...
test/integration/deployment/util.go
View file @
664d7972
...
...
@@ -66,7 +66,7 @@ func testLabels() map[string]string {
return
map
[
string
]
string
{
"name"
:
"test"
}
}
// newDeployment returns a RollingUpdate Deployment with
with
a fake container image
// newDeployment returns a RollingUpdate Deployment with a fake container image
func
newDeployment
(
name
,
ns
string
,
replicas
int32
)
*
apps
.
Deployment
{
return
&
apps
.
Deployment
{
TypeMeta
:
metav1
.
TypeMeta
{
...
...
test/integration/statefulset/util.go
View file @
664d7972
...
...
@@ -79,7 +79,7 @@ func newHeadlessService(namespace string) *v1.Service {
}
}
// newSTS returns a StatefulSet with
with
a fake container image
// newSTS returns a StatefulSet with a fake container image
func
newSTS
(
name
,
namespace
string
,
replicas
int
)
*
v1beta1
.
StatefulSet
{
replicasCopy
:=
int32
(
replicas
)
return
&
v1beta1
.
StatefulSet
{
...
...
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