Skip to content
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

Generate jacoco report for integTestRemote task #5049

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

cwperks
Copy link
Member

@cwperks cwperks commented Jan 22, 2025

Description

Generates a jacoco report after the integTestRemote task is run. This is the task used for release time testing and should be finalized by generating a code cov report w/ jacoco

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Maintenance

Issues Resolved

Resolves #4869

Testing

Run the task similar to:

./gradlew integTestRemote -Dtests.rest.cluster="localhost:9200" -Dtests.cluster="localhost:9200" -Dsecurity_enabled=true -Dtests.clustername=opensearch -Dhttps=true -Duser=admin -Dpassword=myStrongPassword123\!

Verify that reports are generated in

build/reports/jacoco/test/

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.52%. Comparing base (2bef10c) to head (5a0690e).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5049      +/-   ##
==========================================
- Coverage   71.53%   71.52%   -0.01%     
==========================================
  Files         336      336              
  Lines       22617    22617              
  Branches     3599     3599              
==========================================
- Hits        16178    16176       -2     
- Misses       4641     4645       +4     
+ Partials     1798     1796       -2     

see 5 files with indirect coverage changes

@derek-ho derek-ho merged commit a1ccbd5 into opensearch-project:main Jan 22, 2025
41 of 42 checks passed
@derek-ho derek-ho added the backport 2.x backport to 2.x branch label Jan 22, 2025
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 22, 2025
Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit a1ccbd5)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] integTestRemote gradle task should produce a jacoco report
3 participants