At the moment integration tests are suing surefire plugin to run the tests.
This is incorrect since ITs should be executed by failsafe maven plugin.
This may cause an issue e.g. (which I already had) : of you have both QuarkusTest and QuarkusIntegrationTest at the same time then you will get a cryptic exception from Quarkus.
So, what needs to be done:
use failsafe plugin instead of surefire
configure failsafe properly
rename tests so that they have suffix "IT" instead of "Test" since failsafe expects IT with this suffix and surefire executes tests with "Test" suffix.
At the moment integration tests are suing surefire plugin to run the tests. This is incorrect since ITs should be executed by failsafe maven plugin.
This may cause an issue e.g. (which I already had) : of you have both
QuarkusTest
andQuarkusIntegrationTest
at the same time then you will get a cryptic exception from Quarkus.So, what needs to be done:
"IT"
instead of"Test"
since failsafe expects IT with this suffix and surefire executes tests with "Test" suffix.