-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Multiple devservices leads to Ryuk started twice and the Dockerfactory initialized twice #27243
Comments
/cc @geoand, @stuartwdouglas |
It only occurs when both devservices and Kafka companion is used and So, I'm not sure it's a bug per se ;) |
If I unset Configuring devservices to So it raises multiple questions:
|
I need to check but |
I believe this is fixed by #28702. @loicmathieu can you verify it again? |
@ozangunalp no, I can still saw Ruyk started twice when using the Kafka Companion using Quarkus 2.13.4. |
Hello, I experienced this issue too, it took me a while to understand what was going on and if my test failures were due to the fact that multiple Kafka instances were started or not. Here's a simple reproducer based on Quarkus Kafka starter code : https://github.com/GauthierHacout/quarkus_test_kafka
Maybe even more bizarre, when I add the config My test still works though, but it's quite distracting when looking for reason of test failures ! I hope this can help to investigate the issue. I used Quarkus 3.3.2 btw |
Having 2 instances of dev services during dev mode is normal as test execution creates their own devservice instances. When dev services are disabled the But these are not related to the original issue. |
Describe the bug
When using multiple devservices: Kafka via the Kafka Companion test extension and Apicurio Service Registry, Ryuk is started twice and the Dockerfactory is initialized twice.
Everything works but it make the test a bit longuer that necessary.
See the following log:
Expected behavior
Ryuk and the Dockerfactory are only started once.
Actual behavior
No response
How to Reproduce?
Reproducer is here:
multiple-dev-services.zip
Output of
uname -a
orver
Microsoft Windows [version 10.0.19044.1826]
Output of
java -version
openjdk version "18" 2022-03-22
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.11.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Additional information
No response
The text was updated successfully, but these errors were encountered: