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
558f69e6
Commit
558f69e6
authored
Dec 30, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19196 from wojtek-t/fix_wait_test
Auto commit by PR queue bot
parents
2f11a6a0
6d33d28d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
wait_test.go
pkg/util/wait/wait_test.go
+2
-3
No files found.
pkg/util/wait/wait_test.go
View file @
558f69e6
...
...
@@ -185,13 +185,12 @@ func TestPollForever(t *testing.T) {
}
}
// at most
two poll notifications
should be sent once we return from the condition
// at most
one poll notification
should be sent once we return from the condition
done
<-
struct
{}{}
go
func
()
{
for
i
:=
0
;
i
<
2
;
i
++
{
_
,
open
:=
<-
ch
if
open
{
<-
complete
if
!
open
{
return
}
}
...
...
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