Skip to content

Upgrade gradle to 9.4.1 and fix health stats tests#609

Merged
ansjcy merged 2 commits into
opensearch-project:mainfrom
LilyCaroline17:update-gradle-wrapper-9.4.1
May 8, 2026
Merged

Upgrade gradle to 9.4.1 and fix health stats tests#609
ansjcy merged 2 commits into
opensearch-project:mainfrom
LilyCaroline17:update-gradle-wrapper-9.4.1

Conversation

@LilyCaroline17
Copy link
Copy Markdown
Contributor

@LilyCaroline17 LilyCaroline17 commented May 7, 2026

Description

Upgrade gradle to 9.4.1 to match OpenSearch and fix test compatibility for opensearch 3.7 with jackson 3.x migration (#21029) with XContentBuilder.prettyPrint() throwing an error if called after generator is initialized.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].
Fixes downstream CI failures

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: Emily Guo <35637792+LilyCaroline17@users.noreply.github.com>
Call prettyPrint() at builder creation time instead of after writing,
as XContentBuilder no longer allows changing prettyPrint status after
the generator has been initialized (OpenSearch #21029).

Signed-off-by: Emily Guo <35637792+LilyCaroline17@users.noreply.github.com>
@LilyCaroline17 LilyCaroline17 changed the title Upgrade gradle to 9.4.1 Upgrade gradle to 9.4.1 and fix health stats tests May 7, 2026
@ansjcy ansjcy merged commit 534242a into opensearch-project:main May 8, 2026
14 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