This would allow us to configure the tests that fail in a non deterministic way in Jenkins to be retried automatically. Hopefully this could reduce the noise in our PR builders. This PR already configures the retry policy in one test known to fail randomly, but could be extended to other tests if this approach turns to be useful.
Note that with this change the retried tests will also show the failures in the output, but the build will be marked as succeeded if they succeed after the retry. Inspired by: http://stackoverflow.com/a/18374673/3540564 /cc @demobox @adriancole You can merge this Pull Request by running: git pull https://github.com/nacx/jclouds retry-test Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/556 -- Commit Summary -- * Configure a RetryAnalizer to retry the non-deterministic test failures -- File Changes -- M compute/src/test/java/org/jclouds/compute/util/ConcurrentOpenSocketFinderTest.java (3) A core/src/test/java/org/jclouds/test/testng/RetriedTestsReportListener.java (79) A core/src/test/java/org/jclouds/test/testng/RetryFailedTest.java (40) M project/pom.xml (3) M scriptbuilder/pom.xml (9) -- Patch Links -- https://github.com/jclouds/jclouds/pull/556.patch https://github.com/jclouds/jclouds/pull/556.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/556
