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

[2.18] Fix NPE in CatShardsRequestTests on version bump #16590

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Nov 7, 2024

Description

One of the version changes from https://github.com/opensearch-project/OpenSearch/pull/16455/files was missed when it was manually backported in #16396.

The test in question is intended to check for a previous version that does not read the array of null strings. By leaving it at Version.CURRENT it bumped to 2.18.1 where 2.18.0 was the previous version and incorrectly tried to read that array.

Related Issues

Resolves #16580

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: Daniel Widdis <widdis@gmail.com>
Copy link
Contributor

github-actions bot commented Nov 7, 2024

❌ Gradle check result for 82d74ad: 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?

Copy link
Contributor

github-actions bot commented Nov 7, 2024

✅ Gradle check result for 82d74ad: SUCCESS

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (2.18@99a9a81). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             2.18   #16590   +/-   ##
=======================================
  Coverage        ?   71.82%           
  Complexity      ?    65367           
=======================================
  Files           ?     5312           
  Lines           ?   304995           
  Branches        ?    44440           
=======================================
  Hits            ?   219065           
  Misses          ?    67681           
  Partials        ?    18249           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Other skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants