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 2024/03/06 08:57:00 UTC

[jira] [Created] (CAMEL-20522) camel-test - CamelTestSupport does not call tearDown for each test method in some test classes

Claus Ibsen created CAMEL-20522:
-----------------------------------

             Summary: camel-test - CamelTestSupport does not call tearDown for each test method in some test classes
                 Key: CAMEL-20522
                 URL: https://issues.apache.org/jira/browse/CAMEL-20522
             Project: Camel
          Issue Type: Bug
          Components: camel-test
            Reporter: Claus Ibsen
             Fix For: 4.5.0


If you have test classes that does not directly extend CamelTestSupport then your tests may not cleanup after testing. All the tearDown is not invoked.

It seems its due to CamelTestSupport implements both some interfaces from JUnit and also have @AfterEach annotation and this skrews up junit when you have test class hierachies.





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