[ 
https://issues.apache.org/jira/browse/CAMEL-19767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872969#comment-17872969
 ] 

Gaelle Fournier commented on CAMEL-19767:
-----------------------------------------

[Original 
comment|https://github.com/apache/camel/pull/11145#issuecomment-1685871778] for 
more context.

> camel-core: test should not catch AssertionError
> ------------------------------------------------
>
>                 Key: CAMEL-19767
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19767
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Nikita_Konovalov
>            Assignee: Gaelle Fournier
>            Priority: Major
>              Labels: help-wanted
>
> ??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] 



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

Reply via email to