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

ben-manes / caffeine / #3240 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 01 Aug 2022 12:50AM UTC
Files 77
Run time 33s
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

01 Aug 2022 12:03AM UTC coverage: 98.365%. Remained the same
#3240.1

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

Source Files on job #3240.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3240
  • ababbd4a on github
  • Prev Job for on v3.dev (##3239.1)
  • Next Job for on v3.dev (##3243.1)
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