Skip to content

Commit

Permalink
Merge pull request #24 from travisspencer/master
Browse files Browse the repository at this point in the history
Fixes #23: Ignore JUnit's AssumptionViolatedException
  • Loading branch information
anotherchrisberry authored Sep 20, 2017
2 parents e91da59 + 80dd537 commit 86db536
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ class RetryInterceptor implements IMethodInterceptor {
try {
invocation.proceed()
attempts = retryMax + 1
} catch (org.junit.AssumptionViolatedException e) {
throw e
} catch (Throwable t) {
LOG.info("Retry caught failure ${attempts + 1} / ${retryMax + 1}: ", t)
attempts++
Expand Down

0 comments on commit 86db536

Please sign in to comment.