Skip to content

Commit

Permalink
Increase sleep in singleflight test
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbrandhorst committed Jan 26, 2019
1 parent 04784d0 commit bdad262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion certify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ var _ = Describe("Certify", func() {
close(gr2)
}()

time.Sleep(time.Millisecond)
// Let the goroutines start
time.Sleep(10 * time.Millisecond)

close(wait)
Eventually(gr1).Should(BeClosed())
Expand Down

0 comments on commit bdad262

Please sign in to comment.