Skip to content

Commit

Permalink
[core] Don't cut it so close when testing Every being told to be done
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed May 14, 2016
1 parent 0276721 commit aa20799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func TestEveryWhenDone(t *testing.T) {
done := Every(20*time.Millisecond, func() {
i++
})
<-time.After(20 * time.Millisecond)
<-time.After(10 * time.Millisecond)
done <- true
<-time.After(50 * time.Millisecond)
if i > 1 {
Expand Down

0 comments on commit aa20799

Please sign in to comment.