You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2023/02/14 09:10:00 UTC

[jira] [Created] (CAMEL-19047) CamelTestSupport (junit5) - quarkus and springboot checks are not executed with ContextPerClass

Jiri Ondrusek created CAMEL-19047:
-------------------------------------

             Summary: CamelTestSupport (junit5) - quarkus and springboot checks are not executed with ContextPerClass
                 Key: CAMEL-19047
                 URL: https://issues.apache.org/jira/browse/CAMEL-19047
             Project: Camel
          Issue Type: Bug
          Components: camel-test
    Affects Versions: 4.0-M1
            Reporter: Jiri Ondrusek
            Assignee: Jiri Ondrusek


There is a code in `CamelTestSupport` which verifies whether the right test parent is used in Quarkus or Spring-boot ([code|https://github.com/apache/camel/blob/main/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java#L373-L374]). 
These checks should be move above the `if` condition, to be called even if `Lifecycle.PER_CLASS` is used.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)