-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Enable dev services to be located by in-container java #41858
Conversation
* Integration tests need more awareness that native image agent integration tests run Quarkus in container, therefore any dev services need to be tweaked so that the java process in container can locate them. * Tweaked the existing native image agent test in order to run an ORM/postgresql test that fails without this fix.
This comment has been minimized.
This comment has been minimized.
boolean isDockerLaunch = isContainer(artifactType) | ||
|| (isJar(artifactType) && "test-with-native-agent".equals(testProfile)); |
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.
Is there any way we can be avoid hardcoding the agent 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.
Hmmm, not sure with the current code base. Docker/container handling code is scattered around in many places. This is another example of surgery we have to keep doing to handle different container build/run setups.
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.
Okay, let's keep as is for now and we can figure out something better the next time we hit this
Status for workflow
|
Fixes #41771
fails without this fix.
quarkus-resteasy
toquarkus-rest
causes the existing tests to fail with the 404 body message, so removed the body check. Status code check is enough.