Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20522

camel-test - CamelTestSupport does not call tearDown for each test method in some test classes

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 4.x
    • camel-test
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: