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

camel-core: test should not catch AssertionError

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.9.0
    • camel-core
    • Moderate

    Description

      Regarding the first set of changes ...

      I think catching an AssertionError is not an adequate test practice. That deviates from the actual purpose of the AssertionError which is to indicate that the test has failed.

      For now, let's keep the original as is. Let's create a ticket on Apache Jira to note that this is a bad practice that must be fixed.

       

      Quoting orpiske 

      Attachments

        Activity

          People

            gfournier Gaelle Fournier
            nikita_konovalov Nikita_Konovalov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: