• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine / #3241
100%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2022 12:57AM UTC
Jobs 1
Files 77
Run time 34s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#3241

push

github-actions

ben-manes
Fix gradle npe when reporting test results

When a test runs with expected exceptions that are never thrown then
TestNG provides the listener with the test results as if having run
successfully but with an TestException. After the listener the test
results are updated to indicate a test failure and this is reported
to Gradle's runner. Due to our memory optimizations which think that
the test passed, the exception was discarded. This caused Gradle to
fail with an NPE as it is not defensive against a failue without a
cause (gradle/gradle#21336).

Since we run million of tests the results being held in-memory is not
feasible. The exceptions are lightweight though, so we don't need to
discard them to avoid out-of-memory errors.

Also fixed sonarqube and other minor touchups while resolving this
problem.

7342 of 7464 relevant lines covered (98.37%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3241.1 01 Aug 2022 12:57AM UTC 0
98.37
Source Files on build #3241
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3241
  • ababbd4a on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc