Closed ashleyfrieze closed 1 year ago
Patch coverage: 28.57%
and project coverage change: -3.56%
:warning:
Comparison is base (
3b4ea68
) 84.76% compared to head (7c81ec9
) 81.20%.:exclamation: Current head 7c81ec9 differs from pull request most recent head 3af3bb4. Consider uploading reports for the commit 3af3bb4 to get more accurate results
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Owing to a limitation of Mockito's
mockStatic
function, which deliberately limits static mocking to the calling thread, the environment variable mocking has not worked in any other worker threads involved in the test.This was reported in #45
By switching from using Mockito to using
ByteBuddy
and mocking theProcessEnvironment
closer to the bytecode, we can overcome this constraint.