How do you guys feel about me contributing unit tests with hard coded
timeouts?

Some of my code tests to verify locks aren’t causing massive latency but
the only way I can really do this is to have a hard coded timeout of say
50-100ms.

The problem is that this can lead to flakey tests.

The new surefire has test retry policy though.  That helps mitigate flakey
tests.

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>

Reply via email to