-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Conversation
Signed-off-by: Daniel Widdis <[email protected]>
server/src/test/java/org/opensearch/action/admin/cluster/shards/CatShardsRequestTests.java
Show resolved
Hide resolved
❌ 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? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
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
[ ] 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.