Skip to content

Commit

Permalink
Increase random generator sleep time to 10ms
Browse files Browse the repository at this point in the history
Signed-off-by: An Yu <anyu@pivotal.io>
  • Loading branch information
vitreuz authored and anyu committed Jan 9, 2018
1 parent d8bc0b7 commit f53d03a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/randomword/generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var _ = Describe("Generator", func() {
noun := gen.RandomNoun()
// We wait for 3 millisecond because the seed we use to generate the
// randomness has a unit of 1 nanosecond plus random test flakiness
time.Sleep(3)
time.Sleep(10)
Expect(noun).ToNot(Equal(gen.RandomNoun()))
})
})
Expand Down

0 comments on commit f53d03a

Please sign in to comment.