JiriOndrusek commented on PR #3847: URL: https://github.com/apache/camel-quarkus/pull/3847#issuecomment-1209284443
I found a small difference between `CaqmelTestSupport` and `CamelQuarkusTestSupport`. CameTestSupport offers a method `beforeAll` -> which execution depends on `@TestInstance(TestInstance.Lifecycle.PER_CLASS)` vs `@TestInstance(TestInstance.Lifecycle.PER_METHOD)` I debugged the tests and discovered, that - with `Lifecycle.PER_CLASS` is executed **1** time. - with `Lifecycle.PER_METHOD` is executed **0** time. The closest method to use with similar use-case in camel-QuarkusTestSupport`` is `doAfterConstruct`. But it is called in different way: - With `Lifecycle.PER_CLASS` is executed **1** time. - With `Lifecycle.PER_METHOD` is executed **3** time. I'll add the difference into the documentation. I just wanted to point it out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org