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

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

     [ https://issues.apache.org/jira/browse/CAMEL-19047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-19047.
---------------------------------
    Fix Version/s: 4.0-M2
                   4.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 4.0-M2, 4.0
>
>
> 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)