-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Ensure that plugins that utilize dumpCoverage can write to jacoco.dir when tests.security.manager is enabled #18988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… when tests.security.manager is enabled Signed-off-by: Craig Perkins <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
|
❌ Gradle check result for dc88680: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for dc88680: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Craig Perkins <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #18988 +/- ##
============================================
- Coverage 72.93% 72.92% -0.02%
+ Complexity 69469 69440 -29
============================================
Files 5647 5647
Lines 319013 319061 +48
Branches 46151 46151
============================================
- Hits 232663 232662 -1
- Misses 67561 67597 +36
- Partials 18789 18802 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Craig Perkins <[email protected]>
… when tests.security.manager is enabled (opensearch-project#18988) Signed-off-by: Craig Perkins <[email protected]>
… when tests.security.manager is enabled (opensearch-project#18988) Signed-off-by: Craig Perkins <[email protected]>
… when tests.security.manager is enabled (opensearch-project#18988) Signed-off-by: Craig Perkins <[email protected]>
… when tests.security.manager is enabled (opensearch-project#18988) Signed-off-by: Craig Perkins <[email protected]>
Description
Ensure that plugins that utilize dumpCoverage can write to jacoco.dirwhen tests.security.manager is enabled.
This pattern is used to adequately get code coverage for integ tests that utilize testClusters by probing the in memory nodes to see what lines are hit.
Every instance I have found of using testclusters runs with
tests.security.managerset to false and I'd like to encourage all plugins to now test with the javaagent by default so they need write permission to the jacoco dir.Tested using the job-scheduler. Companion JS PR: opensearch-project/job-scheduler#809
Note: the checks on the companion PR will fail until this one is merged.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.