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
5bb76e9b
Commit
5bb76e9b
authored
Aug 19, 2016
by
m1093782566
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve node status test debug info
Change-Id: I6baacee3d253e64d4bc017d9da7e0ea0ec9783f1
parent
57ad590d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
kubelet_node_status_test.go
pkg/kubelet/kubelet_node_status_test.go
+3
-2
No files found.
pkg/kubelet/kubelet_node_status_test.go
View file @
5bb76e9b
...
@@ -489,7 +489,7 @@ func TestUpdateExistingNodeStatus(t *testing.T) {
...
@@ -489,7 +489,7 @@ func TestUpdateExistingNodeStatus(t *testing.T) {
}
}
if
!
api
.
Semantic
.
DeepEqual
(
expectedNode
,
updatedNode
)
{
if
!
api
.
Semantic
.
DeepEqual
(
expectedNode
,
updatedNode
)
{
t
.
Errorf
(
"
expected
\n
%v
\n
, got
\n
%v"
,
expectedNode
,
updatedNode
)
t
.
Errorf
(
"
unexpected objects: %s"
,
diff
.
ObjectDiff
(
expectedNode
,
updatedNode
)
)
}
}
}
}
...
@@ -644,7 +644,8 @@ func TestUpdateExistingNodeOutOfDiskStatusWithTransitionFrequency(t *testing.T)
...
@@ -644,7 +644,8 @@ func TestUpdateExistingNodeOutOfDiskStatusWithTransitionFrequency(t *testing.T)
}
}
if
!
reflect
.
DeepEqual
(
tc
.
expected
,
oodCondition
)
{
if
!
reflect
.
DeepEqual
(
tc
.
expected
,
oodCondition
)
{
t
.
Errorf
(
"%d.
\n
want
\n
%v
\n
, got
\n
%v"
,
tcIdx
,
tc
.
expected
,
oodCondition
)
t
.
Errorf
(
"%d.
\n
unexpected objects: %s"
,
tcIdx
,
diff
.
ObjectDiff
(
tc
.
expected
,
oodCondition
))
}
}
}
}
}
}
...
...
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