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
fix [JDK17]kudu:integration test failed in native mode #3340 #3341
Conversation
@ffang can this be added in the same profile as jdk16-workarounds ? camel-quarkus/integration-tests/kudu/pom.xml Line 113 in cb9c920
Maybe it will be good to refactor the config. WDYT ? |
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.
A custom argline is not an end user-friendly solution. Is there no Quarkus BuildItem for this?
If we keep relying on argline, then we need to document this on the given extension page,
I think in this case, it's acceptable because we unfortunately need this hack in the itests: It's not required for users to do this in their apps AFAIK. |
Hi @zbendhiba , profile jdk16-workarounds has already had this configuration, however it couldn't take effect in native profile, since they both have maven-failsafe-plugin, but with different goals. So I think we have to add it into both profiles. Freeman
|
Yes, this issue indeed from KuduInfrastructureTestHelper itself, which tries to access no-public field from java.net.InetAddress with reflection. This won't happen in users apps. |
Thanks for the explanation @jamesnetherton and @ffang . Could we please have a big fat comment near the |
About where to put
in the top profile-less context (and remove the old |
Hi @ppalaga , I may miss your point, but if we add
in the pom.xml out of profiles, this can't affect the maven-failsafe-plugin configuration in native profile. The maven-failsafe-plugin configuration in native profile can't pick up this argLine and will fail with JDK17 in native mode. We need to add this argLine in native profile anyway. Freeman |
I spoke about |
That's right, I will revise the PR soon. Thanks! |
revised and squashed commits 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.
Thanks @ffang!
No description provided.