Skip to content

Commit

Permalink
test is still flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
kelindar committed Nov 16, 2017
1 parent 7a8a78e commit 86ef0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/timer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestRepeat(t *testing.T) {
count := 0
defer close(closing)

Repeat(func() { count++ }, 1*time.Millisecond, closing)
time.Sleep(10 * time.Millisecond)
Repeat(func() { count++ }, 1*time.Microsecond, closing)
time.Sleep(50 * time.Millisecond)
assert.True(t, count > 0)
}

0 comments on commit 86ef0ba

Please sign in to comment.