Skip to content

Add more tests for JdkDownloadPlugin to capture existing behavior#19576

Merged
andrross merged 4 commits intoopensearch-project:mainfrom
mishail:ms/jdk-download-unit-tests-oss
Oct 10, 2025
Merged

Add more tests for JdkDownloadPlugin to capture existing behavior#19576
andrross merged 4 commits intoopensearch-project:mainfrom
mishail:ms/jdk-download-unit-tests-oss

Conversation

@mishail
Copy link
Copy Markdown
Contributor

@mishail mishail commented Oct 9, 2025

Description

We need to modify the JdkDownloadPlugin for our needs and this PR is to capture existing behavior to avoid regressions after refactoring.

Test coverage before:
before

and after this change:
after

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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: Mikhail Stepura <mstepura@apple.com>
@mishail mishail requested a review from a team as a code owner October 9, 2025 00:52
@mishail
Copy link
Copy Markdown
Contributor Author

mishail commented Oct 9, 2025

cc @reta @andrross

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 9, 2025

❌ Gradle check result for d76598a: 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: Mikhail Stepura <mstepura@apple.com>
@mishail mishail requested a review from reta October 9, 2025 05:07
Signed-off-by: Mikhail Stepura <mstepura@apple.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 9, 2025

❌ Gradle check result for 4848937: null

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: Mikhail Stepura <mstepura@apple.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for daa886d: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.12%. Comparing base (af2a8fc) to head (daa886d).
⚠️ Report is 15 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #19576      +/-   ##
============================================
+ Coverage     73.06%   73.12%   +0.06%     
- Complexity    70617    70664      +47     
============================================
  Files          5723     5723              
  Lines        323473   323473              
  Branches      46845    46845              
============================================
+ Hits         236348   236547     +199     
+ Misses        68074    67857     -217     
- Partials      19051    19069      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrross andrross merged commit 2695c93 into opensearch-project:main Oct 10, 2025
36 of 37 checks passed
@mishail mishail deleted the ms/jdk-download-unit-tests-oss branch October 10, 2025 16:14
rgsriram pushed a commit to rgsriram/OpenSearch that referenced this pull request Oct 11, 2025
peteralfonsi pushed a commit to peteralfonsi/OpenSearch that referenced this pull request Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants