-
Enhancement
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
None
-
%
-
6.3 Sprint 2 (1-Feb - 26-Feb)
hchirino@redhat.com suggested using the Jenkins Flaky Test Handler Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Flaky+Test+Handler+Plugin) along with the new surefire option to rerun failing tests (https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html) to try to help reduce the issues we have with intermittent test failures.
My initial attempts at this have been mixed. This requires surefire version 2.18 or newer, and in a couple of cases that has resulted in test failures. In other cases, rerunning doesn't help, either because of the way the test is written (i.e. setup() and cleanup() don't properly reset the state) or whatever caused the failure, like not being able to get a port, is not resolved by rerunning.