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
c9bc6254
Commit
c9bc6254
authored
Sep 30, 2018
by
SataQiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the redundant space
parent
e019addc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
kubelet_node_status_test.go
pkg/kubelet/kubelet_node_status_test.go
+1
-1
README.md
...ent-go/examples/create-update-delete-deployment/README.md
+1
-1
diff.sh
test/cmd/diff.sh
+1
-1
cf_header.md
test/conformance/cf_header.md
+1
-1
statefulset.go
test/e2e/apps/statefulset.go
+1
-1
No files found.
pkg/kubelet/kubelet_node_status_test.go
View file @
c9bc6254
...
...
@@ -317,7 +317,7 @@ func TestUpdateNewNodeStatus(t *testing.T) {
assert
.
NoError
(
t
,
err
)
for
i
,
cond
:=
range
updatedNode
.
Status
.
Conditions
{
assert
.
False
(
t
,
cond
.
LastHeartbeatTime
.
IsZero
(),
"LastHeartbeatTime for %v condition is zero"
,
cond
.
Type
)
assert
.
False
(
t
,
cond
.
LastTransitionTime
.
IsZero
(),
"LastTransitionTime for %v condition
is zero"
,
cond
.
Type
)
assert
.
False
(
t
,
cond
.
LastTransitionTime
.
IsZero
(),
"LastTransitionTime for %v condition is zero"
,
cond
.
Type
)
updatedNode
.
Status
.
Conditions
[
i
]
.
LastHeartbeatTime
=
metav1
.
Time
{}
updatedNode
.
Status
.
Conditions
[
i
]
.
LastTransitionTime
=
metav1
.
Time
{}
}
...
...
staging/src/k8s.io/client-go/examples/create-update-delete-deployment/README.md
View file @
c9bc6254
...
...
@@ -49,7 +49,7 @@ Running this command will execute the following operations on your cluster:
Each step is separated by an interactive prompt. You must hit the
<kbd>
Return
</kbd>
key to proceed to the next step. You can use these prompts as
a break to take time to
run
`kubectl`
and inspect the result of the operations
a break to take time to run
`kubectl`
and inspect the result of the operations
executed.
You should see an output like the following:
...
...
test/cmd/diff.sh
View file @
c9bc6254
...
...
@@ -35,7 +35,7 @@ run_kubectl_diff_tests() {
output_message
=
$(
kubectl diff
-f
hack/testdata/pod-changed.yaml
)
kube::test::if_has_string
"
${
output_message
}
"
'k8s.gcr.io/pause:3.0'
kubectl delete
-f
hack/testdata/pod.yaml
kubectl delete
-f
hack/testdata/pod.yaml
set
+o nounset
set
+o errexit
...
...
test/conformance/cf_header.md
View file @
c9bc6254
...
...
@@ -2,7 +2,7 @@
## **Summary**
This document provides a summary of the tests included in the Kubernetes conformance test suite.
Each test lists a set of formal requirements that a platform that meets conformance requirements
must adhere to.
Each test lists a set of formal requirements that a platform that meets conformance requirements must adhere to.
The tests are a subset of the "e2e" tests that make up the Kubernetes testing infrastructure.
Each test is identified by the presence of the
`[Conformance]`
keyword in the ginkgo descriptive function calls.
...
...
test/e2e/apps/statefulset.go
View file @
c9bc6254
...
...
@@ -983,7 +983,7 @@ func (m *mysqlGaleraTester) deploy(ns string) *apps.StatefulSet {
func
(
m
*
mysqlGaleraTester
)
write
(
statefulPodIndex
int
,
kv
map
[
string
]
string
)
{
name
:=
fmt
.
Sprintf
(
"%v-%d"
,
m
.
ss
.
Name
,
statefulPodIndex
)
for
k
,
v
:=
range
kv
{
cmd
:=
fmt
.
Sprintf
(
"use
statefulset; insert into foo (k, v) values (
\"
%v
\"
,
\"
%v
\"
);"
,
k
,
v
)
cmd
:=
fmt
.
Sprintf
(
"use statefulset; insert into foo (k, v) values (
\"
%v
\"
,
\"
%v
\"
);"
,
k
,
v
)
framework
.
Logf
(
m
.
mysqlExec
(
cmd
,
m
.
ss
.
Namespace
,
name
))
}
}
...
...
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