[ https://issues.apache.org/jira/browse/CAMEL-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093474#comment-13093474 ]
Claus Ibsen commented on CAMEL-4393: ------------------------------------ This is okay as we have a farm of CI servers which would occasionally fail, and we frankly dont want the servers to fail from time to time, due a tiny issue with some "port number in use" issue with camel-nagios. So this is on purpose. > Camel :: Nagios unit test will break if exception is thrown during set up > ------------------------------------------------------------------------- > > Key: CAMEL-4393 > URL: https://issues.apache.org/jira/browse/CAMEL-4393 > Project: Camel > Issue Type: Task > Reporter: Mathieu Lalonde > Assignee: Mathieu Lalonde > Priority: Minor > Fix For: Future > > Original Estimate: 2h > Remaining Estimate: 2h > > The test classes swallow any exceptions thrown during setUp, log a warning > and set flag indicating they can't run. > Test methods return successfully if the flag is set! If an error is > introduced during the setUp() phase, all tests will pass and we will be down > to developer eye balls to spot the warning! > The simplest solution is to let the exception escape from setUp() which will > count as a test error. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira