activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@spinn3r.com>
Subject Unit tests for ActiveMQ with hard timeouts?
Date Fri, 06 Mar 2015 22:14:31 GMT
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>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message