Merge pull request #75166 from qingsenLi/k8s190308-fix-heatbeat

spelling error 'heatbeat'
This commit is contained in:
Kubernetes Prow Robot 2019-03-20 13:30:59 -07:00 committed by GitHub
commit 26fea2361a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 heartbeat 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 heartbeat time).
// Do not report node status if it is within the duration of nodeStatusReportFrequency.
clock.Step(10 * time.Second)
assert.NoError(t, kubelet.updateNodeStatus())