-
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
Fix Elasticsearch DevService network for @QuarkusIntegrationTest for docker-image-building #44120
Fix Elasticsearch DevService network for @QuarkusIntegrationTest for docker-image-building #44120
Conversation
/cc @gsmet (elasticsearch), @loicmathieu (elasticsearch), @marko-bekhta (elasticsearch), @yrodiere (elasticsearch) |
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.
LGTM, thank you.
Unfortunately I couldn't find any test verifying @QuarkusIntegrationTest of created docker image...
We do test Elasticsearch dev services, but indeed not with @QuarkusIntegrationTest
.
I would personally be in favor of just using dev services in most integration tests, e.g. in integration-tests/elasticsearch-rest-client
, instead of relying on separate configuration.
But it's certainly outside the scope of this PR, so please don't do that here, and there might be reasons not to do it -- @geoand would know.
...io/quarkus/elasticsearch/restclient/common/deployment/DevServicesElasticsearchProcessor.java
Show resolved
Hide resolved
Totally agree. Dev services work just fine with QuarkusIntegrationTest |
There might be a misunderstanding here, because that's not what I meant at all. Anyway, I created #44124 to discuss this. |
FWIW, I remember having fixed something similar in another dev service. I wonder if it's something we need to fix globally. Definitely not in the scope of this PR, just thinking out loud. |
To be clear, I was thinking about this PR https://github.com/quarkusio/quarkus/pull/42472/files, where we fix a slightly different issue for MongoDB but it ends up adjusting the same values for different reasons. |
This comment has been minimized.
This comment has been minimized.
I suppose there are some devservices to fix (at least these using Personally I also would need to fix Pulsar devservice. So should I create another issue and PR or with same issue with separate PR? |
…docker-image-building
a1e1209
to
8a2ab24
Compare
Please open a separate PR, thanks. No need for a dedicated issue as long as the PR correctly describes the problem. EDIT: issue => PR, sorry... |
Status for workflow
|
Fixes #43980
Tested manually for project attached to #43980
Unfortunately I couldn't find any test verifying @QuarkusIntegrationTest of created docker image...
Such tests occurred in the past, but they were dropped in PR #31295 . I suppose these tests were dropped intentionally, as time of CI build was too long.