Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

retrying flakey tests?

$
0
0
Is there a way to retry a flakey test?

I’d basically like to have a flag that retries a failing test 2 or 3 times.

Flakey and non deterministic tests are a fact of life in more complicated
systems.

The main problem being that they are impossible to setup again because
they’re usually race conditions.

If I could just retry the test a second time , that would solve this issue.

Would be nice to have the build warned that the test is failing though..

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>

Viewing all articles
Browse latest Browse all 5648

Trending Articles