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

[Backport 2.x] [Enhancement] Replace JUnit assertEquals() with Hamcrest matchers assertThat() #4545

Merged

Conversation

prabhask5
Copy link
Contributor

@prabhask5 prabhask5 commented Jul 10, 2024

Description

This is a backport of #4544 to branch 2.x.

Issues Resolved

#3680
#1832

Is this a backport? If so, please add backport PR # and/or commits #
Yes backport from #4544
Manual backport was required due to conflicts created due to certain assertion values changing alongside the formatting and function change.

Testing

N/A, changed tests

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • 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: Prabhas Kurapati <[email protected]>
Copy link
Member

@DarshitChanpura DarshitChanpura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a brief comment on why manual backport was required?

@prabhask5
Copy link
Contributor Author

Done! @DarshitChanpura

Signed-off-by: Prabhas Kurapati <[email protected]>
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.13%. Comparing base (1f7238e) to head (0533549).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##              2.x    #4545      +/-   ##
==========================================
- Coverage   65.18%   65.13%   -0.06%     
==========================================
  Files         313      313              
  Lines       21942    21942              
  Branches     3556     3556              
==========================================
- Hits        14302    14291      -11     
- Misses       5859     5866       +7     
- Partials     1781     1785       +4     

see 6 files with indirect coverage changes

@DarshitChanpura DarshitChanpura merged commit 3149e76 into opensearch-project:2.x Jul 11, 2024
77 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants