Re: Should *IT tests be run with failsafe instead of surefire?

2024-01-25 Thread Claus Ibsen
Hi Yes those tests should ideally be run in the verify phase. Also as someone whom does not have docker running always, I would like for those docker based tests to graceful be disabled and the build can skip those tests and continue building. It happens for some components, other fails with

Re: Should *IT tests be run with failsafe instead of surefire?

2024-01-25 Thread Otavio Rodolfo Piske
Hi, Yes, the integration tests (*IT.java) should be running with the failsafe plugin. Which ones are these? If you would like to submit a PR or provide a few of those, I can take a look (opening a ticket is OK too). Kind regards On Wed, Jan 24, 2024 at 9:22 PM Craig Ziesman wrote: > I've

Should *IT tests be run with failsafe instead of surefire?

2024-01-24 Thread Craig Ziesman
I've been working with the Camel build and investigating test failures. There are many tests that use TestContainers and Docker in *IT.java classes that are currently being run by the surefire plugin. In my opinion, these tests ought to be run by failsafe, as they seem to meet the definition of