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
8f104a7b
Commit
8f104a7b
authored
May 23, 2016
by
Piotr Szczesniak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #26063 from wojtek-t/fix_reflect_resync_2
Fix govet error in reflect_resync test
parents
1d17eb14
051fca3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
reflector_test.go
pkg/client/cache/reflector_test.go
+1
-1
No files found.
pkg/client/cache/reflector_test.go
View file @
8f104a7b
...
@@ -381,7 +381,7 @@ func TestReflectorResync(t *testing.T) {
...
@@ -381,7 +381,7 @@ func TestReflectorResync(t *testing.T) {
r
:=
NewReflector
(
lw
,
&
api
.
Pod
{},
s
,
resyncPeriod
)
r
:=
NewReflector
(
lw
,
&
api
.
Pod
{},
s
,
resyncPeriod
)
if
err
:=
r
.
ListAndWatch
(
stopCh
);
err
!=
nil
{
if
err
:=
r
.
ListAndWatch
(
stopCh
);
err
!=
nil
{
// error from Resync is not propaged up to here.
// error from Resync is not propaged up to here.
t
.
Errorf
(
"expected error %v"
,
rerr
,
err
)
t
.
Errorf
(
"expected error %v"
,
err
)
}
}
if
iteration
!=
2
{
if
iteration
!=
2
{
t
.
Errorf
(
"exactly 2 iterations were expected, got: %v"
,
iteration
)
t
.
Errorf
(
"exactly 2 iterations were expected, got: %v"
,
iteration
)
...
...
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