Skip to content

Commit

Permalink
add a helpful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
onsi committed Mar 12, 2014
1 parent e803fda commit d3df15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ginkgo/main.go
Expand Up @@ -252,7 +252,7 @@ func (c *compiler) compile() {
retries := 0

err := c.runner.Compile()
for err != nil && retries < 5 {
for err != nil && retries < 5 { //We retry because Go sometimes steps on itself when multiple compiles happen in parallel. This is ugly, but should help resolve flakiness...
err = c.runner.Compile()
retries++
}
Expand Down

0 comments on commit d3df15b

Please sign in to comment.