-
Notifications
You must be signed in to change notification settings - Fork 73
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] Update to Gradle 8.5 (#1131) #1132
[Backport] [2.x] Update to Gradle 8.5 (#1131) #1132
Conversation
c8db89c
to
fb05241
Compare
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 7c0ce4c) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
fb05241
to
f3a2738
Compare
@@ -265,7 +257,10 @@ public void getLatestDataTime_returnExpectedToListener() { | |||
return null; | |||
}).when(client).search(eq(searchRequest), any(ActionListener.class)); | |||
|
|||
when(ParseUtils.getLatestDataTime(eq(searchResponse))).thenReturn(Optional.of(epochTime)); | |||
InternalMax maxAgg = new InternalMax(CommonName.AGG_NAME_MAX_TIME, epochTime, DocValueFormat.RAW, emptyMap()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just wondering why does there need to be this new code added here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is part of phasing out PowerMock , the reference is #985 (which was never backported sadly), thanks @amitgalitz for looking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, thank you for making this change!
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## 2.x #1132 +/- ##
============================================
- Coverage 79.84% 79.78% -0.06%
+ Complexity 4366 4365 -1
============================================
Files 309 309
Lines 18207 18170 -37
Branches 1909 1909
============================================
- Hits 14537 14497 -40
+ Misses 2765 2763 -2
- Partials 905 910 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Seeing this jackson-core error which is causing 2.x branch build failure. Should we force jackson-core version to be 2.16.1? |
Do you use explicit version ? Or it is transitive dependency (sorry, I didn't check but I will if you don't know). |
Looks like it's coming from core as there's no occurrence of
Note: The above is on the main branch. |
Or you can just change the jackson-core version here to 2.16.1 to align with core jackson-core version that's defined here - https://github.com/opensearch-project/OpenSearch/blob/2.x/buildSrc/version.properties#L10-L11 |
So there is explicit version management, makes sense to change it here. I will update the pull request shortly, thanks @owaiskazi19 @jackiehanyang |
f68bca6
to
a81686a
Compare
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
a81686a
to
c914d10
Compare
Checks are super unstable folks :( |
@reta do we need to make the dependency upgrades on |
Ah, I will do the PR in a sec for |
(cherry picked from commit 7c0ce4c)
Description
Backport of #1131 to
2.x
Issues Resolved
Part of opensearch-project/OpenSearch#10334
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.