I wish Go had a deterministic execution mode with predefined randomization 
seed. The to reproduce such test you would only need a single seed number. 
We built such system for testing our distributed application and it was 
very useful to track rare race conditions. 

On Thursday, August 15, 2019 at 11:16:24 AM UTC-7, Mark Rushakoff wrote:
>
> I put together a blog post on reproducing flaky Go tests: 
> https://www.influxdata.com/blog/reproducing-a-flaky-test-in-go/
>
> This was the result of what I've learned spending many, many hours hunting 
> down many unreliable tests.
>
> I hope these tips can help you out next time you have a test that fails in 
> CI but passes locally.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a56c15a3-6a96-47ab-8b09-147d29c05f23%40googlegroups.com.

Reply via email to