Skip to content

Conversation

@cwperks
Copy link
Member

@cwperks cwperks commented Apr 7, 2025

Description

This PR replaces the :test:framework dependency with JUnit directly in order to avoid circular dependencies on the :libs:agent-sm:agent-policy module

Related Issues

Resolves https://github.com/opensearch-project/OpenSearch/pull/17753/files#r2031916820

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.

cwperks added 2 commits April 7, 2025 16:37
…nt-policy

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

cwperks commented Apr 7, 2025

I had to disable some tasks to make the precommit work for this module. ./gradlew :libs:opensearch-agent-sm:agent-policy:precommit fails w/o disabling these tasks.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

❌ Gradle check result for 1f532cd: 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?

@github-actions
Copy link
Contributor

github-actions bot commented Apr 7, 2025

❌ Gradle check result for 1f532cd: 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?

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

❌ Gradle check result for 1f532cd: 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?

@github-actions
Copy link
Contributor

github-actions bot commented Apr 8, 2025

❕ Gradle check result for 1f532cd: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@codecov
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.35%. Comparing base (cd266f3) to head (1f532cd).
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17821      +/-   ##
============================================
- Coverage     72.55%   72.35%   -0.20%     
+ Complexity    66502    66468      -34     
============================================
  Files          5399     5408       +9     
  Lines        307755   308080     +325     
  Branches      44656    44720      +64     
============================================
- Hits         223295   222920     -375     
- Misses        66266    66958     +692     
- Partials      18194    18202       +8     

☔ 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.

@reta reta merged commit 0819161 into opensearch-project:main Apr 8, 2025
35 of 36 checks passed
guojialiang92 pushed a commit to guojialiang92/OpenSearch that referenced this pull request Apr 8, 2025
…nt-policy (opensearch-project#17821)

* Remove dependency on :test:framework in :libs:opensearch-agent-sm:agent-policy

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

* Use JUnit

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

* Disable more tasks

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

---------

Signed-off-by: Craig Perkins <cwperx@amazon.com>
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.

4 participants