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
147666f1
Commit
147666f1
authored
Mar 09, 2019
by
qingsenLi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spelling error 'heatbeat'
parent
788f2458
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
kubelet_node_status_test.go
pkg/kubelet/kubelet_node_status_test.go
+2
-2
No files found.
pkg/kubelet/kubelet_node_status_test.go
View file @
147666f1
...
...
@@ -939,7 +939,7 @@ func TestUpdateNodeStatusWithLease(t *testing.T) {
assert
.
Equal
(
t
,
v1
.
NodeReady
,
updatedNode
.
Status
.
Conditions
[
len
(
updatedNode
.
Status
.
Conditions
)
-
1
]
.
Type
,
"NodeReady should be the last condition"
)
// Update node status again when nothing is changed (except heatbeat time).
// Update node status again when nothing is changed (except hea
r
tbeat time).
// Report node status if it has exceeded the duration of nodeStatusReportFrequency.
clock
.
Step
(
time
.
Minute
)
assert
.
NoError
(
t
,
kubelet
.
updateNodeStatus
())
...
...
@@ -964,7 +964,7 @@ func TestUpdateNodeStatusWithLease(t *testing.T) {
}
assert
.
True
(
t
,
apiequality
.
Semantic
.
DeepEqual
(
expectedNode
,
updatedNode
),
"%s"
,
diff
.
ObjectDiff
(
expectedNode
,
updatedNode
))
// Update node status again when nothing is changed (except heatbeat time).
// Update node status again when nothing is changed (except hea
r
tbeat time).
// Do not report node status if it is within the duration of nodeStatusReportFrequency.
clock
.
Step
(
10
*
time
.
Second
)
assert
.
NoError
(
t
,
kubelet
.
updateNodeStatus
())
...
...
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