Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

chore: add workaround for container tests#659

Merged
kabir merged 1 commit intoa2aproject:maina2aproject/a2a-java:mainfrom
jmesnil:multi-instance_docker_testjmesnil/a2a-java:multi-instance_docker_testCopy head branch name to clipboard
Feb 16, 2026
Merged

chore: add workaround for container tests#659
kabir merged 1 commit intoa2aproject:maina2aproject/a2a-java:mainfrom
jmesnil:multi-instance_docker_testjmesnil/a2a-java:multi-instance_docker_testCopy head branch name to clipboard

Conversation

@jmesnil
Copy link
Collaborator

@jmesnil jmesnil commented Feb 16, 2026

No description provided.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @jmesnil, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a critical workaround to address a specific issue encountered with Testcontainers during containerized test execution. By configuring a system property in the Maven build, it ensures the stability and proper functioning of these tests, allowing development to proceed without hindrance from the external dependency problem.

Highlights

Changelog
  • extras/queue-manager-replicated/tests-multi-instance/tests/pom.xml
    • Added the api.version system property with the value 1.44 to the maven-surefire-plugin configuration.
    • Included a comment referencing the Testcontainers GitHub issue.
Activity
  • No specific activity (comments, reviews, progress updates) has been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a workaround for a Testcontainers issue by setting the api.version system property. The change is well-commented with a link to the upstream issue, which is helpful for future maintenance. My review includes a suggestion to extract the hardcoded version into a Maven property to improve the project's maintainability.

<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<!-- workaround for https://github.com/testcontainers/testcontainers-java/issues/11212 -->
<api.version>1.44</api.version>
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

To improve maintainability and avoid a magic number, consider defining this version in a <properties> section at the top of this pom.xml and referencing it with a property. This makes it clearer what the value represents and easier to update.

For example, you could add this block to your pom.xml (e.g., after the <name> element):

<properties>
    <!-- Workaround for https://github.com/testcontainers/testcontainers-java/issues/11212 -->
    <docker.api.version.workaround>1.44</docker.api.version.workaround>
</properties>

Then, you can apply the suggested change below.

Suggested change
<api.version>1.44</api.version>
<api.version>${docker.api.version.workaround}</api.version>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@gemini-code-assist. Let's not do that. This is a temporary workaround and this version is not meant to be maintained once the testcontainers dependency is updated and the workaround not required anymore

Copy link
Contributor

Choose a reason for hiding this comment

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

Understood. Your reasoning regarding the temporary nature of the workaround makes sense. In this context, avoiding the overhead of defining a property for a short-lived value is a reasonable approach. Thank you for the clarification.

For the docker api.version to 1.44 to workaround
testcontainers/testcontainers-java#11212

Signed-off-by: Jeff Mesnil <jmesnil@ibm.com>
@jmesnil jmesnil force-pushed the multi-instance_docker_test branch from a31e07b to cafb087 Compare February 16, 2026 15:11
@jmesnil jmesnil changed the title Add workaround for container tests chore: add workaround for container tests Feb 16, 2026
@jmesnil jmesnil requested a review from kabir February 16, 2026 15:24
@kabir kabir merged commit 14e5eeb into a2aproject:main Feb 16, 2026
11 of 12 checks passed
ehsavoie added a commit to ehsavoie/a2a-java that referenced this pull request Feb 16, 2026
ehsavoie added a commit to ehsavoie/a2a-java that referenced this pull request Feb 17, 2026
ehsavoie added a commit to ehsavoie/a2a-java that referenced this pull request Feb 17, 2026
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.

2 participants

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.